Reject calls to X509_verify_cert that have not been reinitialised
[openssl.git] / doc / crypto / X509_verify_cert.pod
index e5cfc6f813ce0e9bfeac0735db6ab85c7c879413..48055b0f969fe7c07dad9bd3a64014a0c7bd930d 100644 (file)
@@ -32,7 +32,8 @@ OpenSSL internally for certificate validation, in both the S/MIME and
 SSL/TLS code.
 
 The negative return value from X509_verify_cert() can only occur if no
-certificate is set in B<ctx> (due to a programming error) or if a retry
+certificate is set in B<ctx> (due to a programming error); if X509_verify_cert()
+twice without reinitialising B<ctx> in between; or if a retry
 operation is requested during internal lookups (which never happens with
 standard lookup methods). It is however recommended that application check
 for <= 0 return value on error.