From: Shakti Shah Date: Tue, 30 Jan 2024 19:44:34 +0000 (+0530) Subject: Clarify X509_STORE_CTX_init() documentation in the man page X-Git-Tag: openssl-3.3.0-alpha1~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f82d457c06289ec66a627a3d11649d83beff88;p=thirdparty%2Fopenssl.git Clarify X509_STORE_CTX_init() documentation in the man page Fixes #21203 CLA: trivial Reviewed-by: Todd Short Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/23435) --- diff --git a/doc/man3/X509_STORE_CTX_new.pod b/doc/man3/X509_STORE_CTX_new.pod index d59599ed7b9..17c8bc73bf4 100644 --- a/doc/man3/X509_STORE_CTX_new.pod +++ b/doc/man3/X509_STORE_CTX_new.pod @@ -83,7 +83,9 @@ is no longer valid. If I is NULL nothing is done. X509_STORE_CTX_init() sets up I for a subsequent verification operation. -It must be called before each call to L or + +X509_STORE_CTX_init() initializes the internal state and resources of the +X509_STORE_CTX, and must be called before each call to L or L, i.e., a context is only good for one verification. If you want to verify a further certificate or chain with the same I then you must call X509_STORE_CTX_init() again.