From d879cf1bf9a44712e65a8b20dc0cff6641b0f506 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 22 Feb 2019 01:56:51 +0000 Subject: [PATCH 1/4] Deprecated NPN --- CHANGELOG.rst | 4 +++- src/OpenSSL/SSL.py | 9 +++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ee8dda437..fa04273ca 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,7 +18,9 @@ Backward-incompatible changes: Deprecations: ^^^^^^^^^^^^^ -*none* +- Deprecated ``OpenSSL.SSL.Context.set_npn_advertise_callback``, ``OpenSSL.SSL.Context.set_npn_select_callback``, and ``OpenSSL.SSL.Connection.get_next_proto_negotiated``. + ALPN should be used instead. + `#819 Date: Fri, 22 Feb 2019 01:59:10 +0000 Subject: [PATCH 2/4] arithmetic is hard --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fa04273ca..3857bd1e4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,7 +20,7 @@ Deprecations: - Deprecated ``OpenSSL.SSL.Context.set_npn_advertise_callback``, ``OpenSSL.SSL.Context.set_npn_select_callback``, and ``OpenSSL.SSL.Connection.get_next_proto_negotiated``. ALPN should be used instead. - `#819 Date: Fri, 22 Feb 2019 02:11:51 +0000 Subject: [PATCH 3/4] oops --- src/OpenSSL/SSL.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index 06a7c97e5..232f81d3a 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py @@ -1,6 +1,6 @@ import os import socket -import warning +import warnings from sys import platform from functools import wraps, partial from itertools import count, chain From 88b2f986a6d3e2b1cfbe50ab46459091b27b3768 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 22 Feb 2019 02:26:30 +0000 Subject: [PATCH 4/4] oops --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3857bd1e4..2b6d73261 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -20,7 +20,7 @@ Deprecations: - Deprecated ``OpenSSL.SSL.Context.set_npn_advertise_callback``, ``OpenSSL.SSL.Context.set_npn_select_callback``, and ``OpenSSL.SSL.Connection.get_next_proto_negotiated``. ALPN should be used instead. - `#820 `_ Changes: