Skip to content

Commit 4ea2603

Browse files
committed
Version bump
1 parent 4de5f24 commit 4ea2603

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: sslkeylog.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
import _sslkeylog
2626

2727

28-
__version__ = u"0.3.0"
28+
__version__ = u"0.4.0"
2929

3030

3131
if sys.version_info[0] >= 3:
@@ -61,6 +61,8 @@ def get_server_random(sock):
6161
Get the server random from an :class:`ssl.SSLSocket` or :class:`ssl.SSLObject`.
6262
6363
.. note:: Does not work with TLS v1.3+ sockets.
64+
65+
.. versionadded:: 0.4.0
6466
"""
6567
if sock is None:
6668
raise TypeError(
@@ -100,6 +102,8 @@ def export_keying_material(sock, length, label, context=None):
100102
:class:`ssl.SSLObject`.
101103
102104
.. note:: Does not work with SSL v3.0 or below sockets.
105+
106+
.. versionadded:: 0.4.0
103107
"""
104108
if ssl.OPENSSL_VERSION_INFO[:3] < (1, 0, 1):
105109
raise NotImplementedError("Method not implemented in OpenSSL older than 1.0.1")

0 commit comments

Comments
 (0)