Skip to content

Commit 1ff0d50

Browse files
authored
re-add Cryptography_HAS_TLSEXT_HOSTNAME and bump for 3.3.1 (#5625)
* re-add Cryptography_HAS_TLSEXT_HOSTNAME and bump for 3.3.1 * review feedback
1 parent 7e8fff7 commit 1ff0d50

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

CHANGELOG.rst

+7-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
Changelog
22
=========
33

4+
.. _v3-3-1:
5+
6+
3.3.1 - 2020-12-09
7+
~~~~~~~~~~~~~~~~~~
8+
9+
* Re-added a legacy symbol causing problems for older ``pyOpenSSL`` users.
10+
411
.. _v3-3:
512

613
3.3 - 2020-12-08
714
~~~~~~~~~~~~~~~~
815

9-
.. note:: This version is not yet released and is under active development.
10-
1116
* **BACKWARDS INCOMPATIBLE:** Support for Python 3.5 has been removed due to
1217
low usage and maintenance burden.
1318
* **BACKWARDS INCOMPATIBLE:** The

src/_cffi_src/openssl/ssl.py

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
static const long Cryptography_HAS_VERIFIED_CHAIN;
2626
static const long Cryptography_HAS_KEYLOG;
2727
static const long Cryptography_HAS_GET_PROTO_VERSION;
28+
static const long Cryptography_HAS_TLSEXT_HOSTNAME;
2829
2930
/* Internally invented symbol to tell us if SSL_MODE_RELEASE_BUFFERS is
3031
* supported
@@ -504,6 +505,11 @@
504505
"""
505506

506507
CUSTOMIZATIONS = """
508+
// This symbol is being preserved because removing it will break users with
509+
// pyOpenSSL < 19.1 and pip < 20.x. We need to leave this in place until those
510+
// users have upgraded. PersistentlyDeprecated2020
511+
static const long Cryptography_HAS_TLSEXT_HOSTNAME = 1;
512+
507513
#if CRYPTOGRAPHY_IS_LIBRESSL
508514
static const long Cryptography_HAS_VERIFIED_CHAIN = 0;
509515
Cryptography_STACK_OF_X509 *(*SSL_get0_verified_chain)(const SSL *) = NULL;

src/cryptography/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
)
2323
__uri__ = "https://github.com/pyca/cryptography"
2424

25-
__version__ = "3.3"
25+
__version__ = "3.3.1"
2626

2727
__author__ = "The cryptography developers"
2828
__email__ = "[email protected]"

vectors/cryptography_vectors/__about__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
__uri__ = "https://github.com/pyca/cryptography"
2222

23-
__version__ = "3.3"
23+
__version__ = "3.3.1"
2424

2525
__author__ = "The cryptography developers"
2626
__email__ = "[email protected]"

0 commit comments

Comments
 (0)