aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorShakti Shah <shaktishah33@gmail.com>2024-01-31 01:14:34 +0530
committerTomas Mraz <tomas@openssl.org>2024-02-05 10:15:22 +0100
commit22f82d457c06289ec66a627a3d11649d83beff88 (patch)
tree673db71a4b2c5623edddc05e6ebc7cc46247ea35 /doc
parentb332dbb3ed0171eb0d227be3b0d558480a73a67e (diff)
downloadopenssl-22f82d457c06289ec66a627a3d11649d83beff88.tar.gz
Clarify X509_STORE_CTX_init() documentation in the man page
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)
Diffstat (limited to 'doc')
-rw-r--r--doc/man3/X509_STORE_CTX_new.pod4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/man3/X509_STORE_CTX_new.pod b/doc/man3/X509_STORE_CTX_new.pod
index d59599ed7b..17c8bc73bf 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<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.