Line 0
Link Here
|
|
|
1 |
--- src/_cffi_src/openssl/x509_vfy.py.orig 2017-01-27 15:09:52 UTC |
2 |
+++ src/_cffi_src/openssl/x509_vfy.py |
3 |
@@ -221,10 +221,16 @@ static const long X509_V_ERR_SUITE_B_INV |
4 |
static const long X509_V_ERR_SUITE_B_INVALID_SIGNATURE_ALGORITHM = 0; |
5 |
static const long X509_V_ERR_SUITE_B_LOS_NOT_ALLOWED = 0; |
6 |
static const long X509_V_ERR_SUITE_B_CANNOT_SIGN_P_384_WITH_P_256 = 0; |
7 |
+#ifndef X509_V_ERR_HOSTNAME_MISMATCH |
8 |
static const long X509_V_ERR_HOSTNAME_MISMATCH = 0; |
9 |
+#endif |
10 |
+#ifndef X509_V_ERR_EMAIL_MISMATCH |
11 |
static const long X509_V_ERR_EMAIL_MISMATCH = 0; |
12 |
+#endif |
13 |
+#ifndef X509_V_ERR_IP_ADDRESS_MISMATCH |
14 |
static const long X509_V_ERR_IP_ADDRESS_MISMATCH = 0; |
15 |
#endif |
16 |
+#endif |
17 |
|
18 |
/* OpenSSL 1.0.2beta2+ verification parameters */ |
19 |
#if CRYPTOGRAPHY_OPENSSL_102BETA2_OR_GREATER && \ |