From: Camille Guérin Date: Fri, 21 Apr 2017 11:35:51 +0000 (+0200) Subject: Fixed typo in X509_STORE_CTX_new description X-Git-Tag: OpenSSL_1_0_2l~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=60a70a510750f06007f92c22f5d130a1ce3150d2;p=oweals%2Fopenssl.git Fixed typo in X509_STORE_CTX_new description 'X509_XTORE_CTX_cleanup' -> 'X509_STORE_CTX_cleanup' Reviewed-by: Kurt Roeckx Reviewed-by: Rich Salz (Merged from https://github.com/openssl/openssl/pull/3271) (cherry picked from commit 7643a1723ef8eb4e542e57dfadeeb8eff788ec05) (cherry picked from commit 2c0b8d2872057fdda22d3f41c3d4e59835b414b4) --- diff --git a/doc/crypto/X509_STORE_CTX_new.pod b/doc/crypto/X509_STORE_CTX_new.pod index eb38b0a109..1aee117268 100644 --- a/doc/crypto/X509_STORE_CTX_new.pod +++ b/doc/crypto/X509_STORE_CTX_new.pod @@ -41,7 +41,7 @@ is no longer valid. X509_STORE_CTX_init() sets up B for a subsequent verification operation. It must be called before each call to X509_verify_cert(), i.e. a B is only good for one call to X509_verify_cert(); if you want to verify a second -certificate with the same B then you must call X509_XTORE_CTX_cleanup() +certificate with the same B then you must call X509_STORE_CTX_cleanup() and then X509_STORE_CTX_init() again before the second call to X509_verify_cert(). The trusted certificate store is set to B, the end entity certificate to be verified is set to B and a set of additional