View | Details | Raw Unified | Return to bug 216825 | Differences between
and this patch

Collapse All | Expand All

(-)security/py-cryptography/Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	cryptography
4
PORTNAME=	cryptography
5
PORTVERSION=	1.6
5
PORTVERSION=	1.7.2
6
CATEGORIES=	security python
6
CATEGORIES=	security python
7
MASTER_SITES=	CHEESESHOP
7
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)security/py-cryptography/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1480367088
1
TIMESTAMP = 1486315564
2
SHA256 (cryptography-1.6.tar.gz) = 4d0d86d2c8d3fc89133c3fa0d164a688a458b6663ab6fa965c80d6c2cdaf9b3f
2
SHA256 (cryptography-1.7.2.tar.gz) = 878cb68b3da3d493ffd68f36db11c29deee623671d3287c3f8d685117ffda9a9
3
SIZE (cryptography-1.6.tar.gz) = 410073
3
SIZE (cryptography-1.7.2.tar.gz) = 420867
(-)security/py-cryptography/files/patch-src___cffi__src_openssl_x509__vfy.py (+19 lines)
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 && \

Return to bug 216825