Commit 4b9c2669 authored by Beat Bolli's avatar Beat Bolli Committed by Rich Salz
Browse files

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: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1949)
parent e597b2ba
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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);