differentiated the two functions. Updated docs, and tests
diff --git a/doc/api/ssl.rst b/doc/api/ssl.rst
index 2ab29fd..38f0d33 100644
--- a/doc/api/ssl.rst
+++ b/doc/api/ssl.rst
@@ -600,9 +600,18 @@
.. py:method:: Connection.get_protocol_version()
- Retrieve the version of the SSL or TLS protocol used by the Connection. For
- example, it will return ``TLSv1`` for connections made over TLS version 1, or
- ``Unknown`` for connections that were not successfully established.
+ Retrieve the version of the SSL or TLS protocol used by the Connection.
+ For example, it will return ``0x303`` for connections made over TLS
+ version 1.2, or ``Unknown`` for connections that were not successfully
+ established.
+
+
+.. py:method:: Connection.get_protocol_version_name()
+
+ Retrieve the version of the SSL or TLS protocol used by the Connection.
+ For example, it will return ``TLSv1`` in bytes for connections made over
+ TLS version 1, or ``Unknown`` for connections that were not successfully
+ established.
.. py:method:: Connection.get_client_ca_list()