aboutsummaryrefslogtreecommitdiff
path: root/crypto/x509
diff options
context:
space:
mode:
authorBodo Möller <bodo@openssl.org>1999-11-16 23:15:41 +0000
committerBodo Möller <bodo@openssl.org>1999-11-16 23:15:41 +0000
commitb1fe6ca175bdbb51a064c1e5519b21d80804e7c6 (patch)
tree10b79bff688db09e68db3edba6872022c4af1459 /crypto/x509
parent91895a5938695348ebfb6211325cc6e3e449e955 (diff)
downloadopenssl-b1fe6ca175bdbb51a064c1e5519b21d80804e7c6.zip
openssl-b1fe6ca175bdbb51a064c1e5519b21d80804e7c6.tar.gz
openssl-b1fe6ca175bdbb51a064c1e5519b21d80804e7c6.tar.bz2
Store verify_result with sessions to avoid potential security hole.
Diffstat (limited to 'crypto/x509')
-rw-r--r--crypto/x509/x509_vfy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/x509/x509_vfy.h b/crypto/x509/x509_vfy.h
index ecfd4cf..39fa056 100644
--- a/crypto/x509/x509_vfy.h
+++ b/crypto/x509/x509_vfy.h
@@ -234,6 +234,7 @@ struct x509_store_state_st /* X509_STORE_CTX */
X509_LOOKUP_ctrl((x),X509_L_ADD_DIR,(name),(long)(type),NULL)
#define X509_V_OK 0
+/* illegal error (for uninitialized values, to avoid X509_V_OK): 1 */
#define X509_V_ERR_UNABLE_TO_GET_ISSUER_CERT 2
#define X509_V_ERR_UNABLE_TO_GET_CRL 3