FreeBSD Bugzilla – Attachment 162119 Details for
Bug 203819
security/py-cryptography: Update to 1.0.2, Add LibreSSL support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Update to py-cryptography 1.0.2
py-cryptography-1.0.2.patch (text/plain), 3.02 KB, created by
Ralf van der Enden
on 2015-10-16 14:34:00 UTC
(
hide
)
Description:
Update to py-cryptography 1.0.2
Filename:
MIME Type:
Creator:
Ralf van der Enden
Created:
2015-10-16 14:34:00 UTC
Size:
3.02 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 399270) >+++ Makefile (working copy) >@@ -2,7 +2,7 @@ > # $FreeBSD$ > > PORTNAME= cryptography >-PORTVERSION= 0.8.2 >+PORTVERSION= 1.0.2 > CATEGORIES= security python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: distinfo >=================================================================== >--- distinfo (revision 399270) >+++ distinfo (working copy) >@@ -1,2 +1,2 @@ >-SHA256 (cryptography-0.8.2.tar.gz) = 1c9a022ab3decaf152093e2ef2d5ee4258c72c7d429446c86bd68ff8c0929db6 >-SIZE (cryptography-0.8.2.tar.gz) = 268288 >+SHA256 (cryptography-1.0.2.tar.gz) = d64cd491e91ddf642c643bea16532c2a2da2da054cca6df756edadd55a8bacca >+SIZE (cryptography-1.0.2.tar.gz) = 332870 >Index: files/patch-src___cffi__src_openssl_ec.py >=================================================================== >--- files/patch-src___cffi__src_openssl_ec.py (revision 0) >+++ files/patch-src___cffi__src_openssl_ec.py (working copy) >@@ -0,0 +1,12 @@ >+--- src/_cffi_src/openssl/ec.py.orig 2015-09-27 13:51:07 UTC >++++ src/_cffi_src/openssl/ec.py >+@@ -396,7 +396,8 @@ EC_GROUP *(*EC_GROUP_new_curve_GF2m)( >+ static const long Cryptography_HAS_EC2M = 1; >+ #endif >+ >+-#if defined(OPENSSL_NO_EC) || OPENSSL_VERSION_NUMBER < 0x1000200f || \ >++#if defined(OPENSSL_NO_EC) || \ >++ OPENSSL_VERSION_NUMBER < 0x1000200f && !defined(LIBRESSL_VERSION_NUMBER) || \ >+ defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20020002L >+ static const long Cryptography_HAS_EC_1_0_2 = 0; >+ const char *(*EC_curve_nid2nist)(int) = NULL; > >Property changes on: files/patch-src___cffi__src_openssl_ec.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py >=================================================================== >--- files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py (revision 399270) >+++ files/patch-src_cryptography_hazmat_bindings_openssl_ssl.py (working copy) >@@ -1,17 +0,0 @@ >-From 622409947f6e64fcabbf2b4da2ed086abc06ed85 Mon Sep 17 00:00:00 2001 >-From: Bernard Spil <Sp1l@users.noreply.github.com> >-Date: Wed, 15 Apr 2015 11:09:32 +0200 >-Subject: [PATCH] LibreSSL added ALPN support in 2.1.3 >-Link: https://github.com/pyca/cryptography/pull/1849 >- >---- src/cryptography/hazmat/bindings/openssl/ssl.py.orig 2015-04-24 12:57:06 UTC >-+++ src/cryptography/hazmat/bindings/openssl/ssl.py >-@@ -526,7 +526,7 @@ static const long Cryptography_HAS_NEXTP >- #endif >- >- /* ALPN was added in OpenSSL 1.0.2. */ >--#if OPENSSL_VERSION_NUMBER < 0x10002001L >-+#if OPENSSL_VERSION_NUMBER < 0x10002001L && !defined(LIBRESSL_VERSION_NUMBER) >- int (*SSL_CTX_set_alpn_protos)(SSL_CTX *, >- const unsigned char *, >- unsigned) = NULL;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 203819
: 162119 |
162120