File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,6 @@ mod _ssl {
9494 SSL_ERROR_WANT_CONNECT ,
9595 SSL_ERROR_WANT_READ ,
9696 SSL_ERROR_WANT_WRITE ,
97- // X509_V_FLAG_CRL_CHECK as VERIFY_CRL_CHECK_LEAF,
98- // sys::X509_V_FLAG_CRL_CHECK|sys::X509_V_FLAG_CRL_CHECK_ALL as VERIFY_CRL_CHECK_CHAIN
99- // X509_V_FLAG_X509_STRICT as VERIFY_X509_STRICT,
10097 SSL_ERROR_ZERO_RETURN ,
10198 SSL_OP_CIPHER_SERVER_PREFERENCE as OP_CIPHER_SERVER_PREFERENCE ,
10299 SSL_OP_ENABLE_MIDDLEBOX_COMPAT as OP_ENABLE_MIDDLEBOX_COMPAT ,
@@ -114,6 +111,11 @@ mod _ssl {
114111 X509_V_FLAG_X509_STRICT as VERIFY_X509_STRICT ,
115112 } ;
116113
114+ // CRL verification constants
115+ #[ pyattr]
116+ const VERIFY_CRL_CHECK_CHAIN : libc:: c_ulong =
117+ sys:: X509_V_FLAG_CRL_CHECK | sys:: X509_V_FLAG_CRL_CHECK_ALL ;
118+
117119 // taken from CPython, should probably be kept up to date with their version if it ever changes
118120 #[ pyattr]
119121 const _DEFAULT_CIPHERS: & str =
You can’t perform that action at this time.
0 commit comments