summaryrefslogtreecommitdiff
path: root/src/OpenSSL/SSL.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2019-02-07 09:14:48 -0500
committerHynek Schlawack <hs@ox.cx>2019-02-07 15:14:48 +0100
commit01f90a1b010754c37a332b1b432bca73f7c529a2 (patch)
tree13432cb4a08930e31734184b0503c2feb08aa5a9 /src/OpenSSL/SSL.py
parent2d2ea9dd04d00f79a1be7b94ee7f0470ec5dc7a9 (diff)
downloadpyopenssl-01f90a1b010754c37a332b1b432bca73f7c529a2.tar.gz
Removed deprecated Type aliases (#814)
* Removed deprecated Type aliases * typo * typo * missed this somehow * Line wrap
Diffstat (limited to 'src/OpenSSL/SSL.py')
-rw-r--r--src/OpenSSL/SSL.py14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py
index 0687fc3..5d07b26 100644
--- a/src/OpenSSL/SSL.py
+++ b/src/OpenSSL/SSL.py
@@ -6,8 +6,6 @@ from itertools import count, chain
from weakref import WeakValueDictionary
from errno import errorcode
-from cryptography.utils import deprecated
-
from six import (
binary_type as _binary_type, integer_types as integer_types, int2byte,
indexbytes)
@@ -1528,12 +1526,6 @@ class Context(object):
self._set_ocsp_callback(helper, data)
-ContextType = deprecated(
- Context, __name__,
- "ContextType has been deprecated, use Context instead", DeprecationWarning
-)
-
-
class Connection(object):
"""
"""
@@ -2496,12 +2488,6 @@ class Connection(object):
_openssl_assert(rc == 1)
-ConnectionType = deprecated(
- Connection, __name__,
- "ConnectionType has been deprecated, use Connection instead",
- DeprecationWarning
-)
-
# This is similar to the initialization calls at the end of OpenSSL/crypto.py
# but is exercised mostly by the Context initializer.
_lib.SSL_library_init()