Fixed typo in X509_STORE_CTX_new description
'X509_XTORE_CTX_cleanup' -> 'X509_STORE_CTX_cleanup' Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3271)
This commit is contained in:
parent
8b24f94209
commit
7643a1723e
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ If B<ctx> is NULL nothing is done.
|
||||||
X509_STORE_CTX_init() sets up B<ctx> for a subsequent verification operation.
|
X509_STORE_CTX_init() sets up B<ctx> for a subsequent verification operation.
|
||||||
It must be called before each call to X509_verify_cert(), i.e. a B<ctx> is only
|
It must be called before each call to X509_verify_cert(), i.e. a B<ctx> is only
|
||||||
good for one call to X509_verify_cert(); if you want to verify a second
|
good for one call to X509_verify_cert(); if you want to verify a second
|
||||||
certificate with the same B<ctx> then you must call X509_XTORE_CTX_cleanup()
|
certificate with the same B<ctx> then you must call X509_STORE_CTX_cleanup()
|
||||||
and then X509_STORE_CTX_init() again before the second call to
|
and then X509_STORE_CTX_init() again before the second call to
|
||||||
X509_verify_cert(). The trusted certificate store is set to B<store>, the end
|
X509_verify_cert(). The trusted certificate store is set to B<store>, the end
|
||||||
entity certificate to be verified is set to B<x509> and a set of additional
|
entity certificate to be verified is set to B<x509> and a set of additional
|
||||||
|
|
Loading…
Reference in a new issue