mirror of https://github.com/openssl/openssl.git
				
				
				
			Use consistent variable names
In the X509_NAME_get_index_by_NID.pod example, the initialized variable is called "loc", but the one used in the for loop is called "lastpos". Make the names match. CLA: trivial Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1949)
This commit is contained in:
		
							parent
							
								
									e597b2ba11
								
							
						
					
					
						commit
						4b9c2669f3
					
				|  | @ -83,10 +83,9 @@ Process all entries: | |||
| 
 | ||||
| Process all commonName entries: | ||||
| 
 | ||||
|  int loc; | ||||
|  int lastpos = -1; | ||||
|  X509_NAME_ENTRY *e; | ||||
| 
 | ||||
|  loc = -1; | ||||
|  for (;;) | ||||
|         { | ||||
|         lastpos = X509_NAME_get_index_by_NID(nm, NID_commonName, lastpos); | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue