MCPcopy Create free account
hub / github.com/Bitmessage/PyBitmessage / sslProtocolCiphers

Function sslProtocolCiphers

dev/ssltest.py:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24 return ssl.PROTOCOL_TLSv1
25
26def sslProtocolCiphers():
27 if ssl.OPENSSL_VERSION_NUMBER >= 0x10100000:
28 return "AECDH-AES256-SHA@SECLEVEL=0"
29 else:
30 return "AECDH-AES256-SHA"
31
32def connect():
33 sock = socket.create_connection((HOST, PORT))

Callers 1

sslHandshakeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected