]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Clarify X509_STORE_CTX_init() documentation in the man page
authorShakti Shah <shaktishah33@gmail.com>
Tue, 30 Jan 2024 19:44:34 +0000 (01:14 +0530)
committerTomas Mraz <tomas@openssl.org>
Mon, 5 Feb 2024 09:15:22 +0000 (10:15 +0100)
Fixes #21203
CLA: trivial

Reviewed-by: Todd Short <todd.short@me.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/23435)

doc/man3/X509_STORE_CTX_new.pod

index d59599ed7b982162bbb65ef286ccc76397135bb2..17c8bc73bf4572dc2fe2b2908026c8ae2ce05afd 100644 (file)
@@ -83,7 +83,9 @@ is no longer valid.
 If I<ctx> is NULL nothing is done.
 
 X509_STORE_CTX_init() sets up I<ctx> for a subsequent verification operation.
-It must be called before each call to L<X509_verify_cert(3)> 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<X509_verify_cert(3)> or
 L<X509_STORE_CTX_verify(3)>, i.e., a context is only good for one verification.
 If you want to verify a further certificate or chain with the same I<ctx>
 then you must call X509_STORE_CTX_init() again.