The branch OpenSSL_1_1_0-stable has been updated
via 4b9c2669f31da26bfe56f629973fa014083dc2a0 (commit)
from e597b2ba1165bb94e384f5cd37ea359f926a05cc (commit)
- Log -----------------------------------------------------------------
commit 4b9c2669f31da26bfe56f629973fa014083dc2a0
Author: Beat Bolli <[email protected]>
Date: Fri Nov 18 09:53:48 2016 +0100
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 <[email protected]>
Reviewed-by: Rich Salz <[email protected]>
(Merged from https://github.com/openssl/openssl/pull/1949)
-----------------------------------------------------------------------
Summary of changes:
doc/crypto/X509_NAME_get_index_by_NID.pod | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/doc/crypto/X509_NAME_get_index_by_NID.pod
b/doc/crypto/X509_NAME_get_index_by_NID.pod
index 042da24..2d6713b 100644
--- a/doc/crypto/X509_NAME_get_index_by_NID.pod
+++ b/doc/crypto/X509_NAME_get_index_by_NID.pod
@@ -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);
_____
openssl-commits mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-commits