-
Notifications
You must be signed in to change notification settings - Fork 34
Description
======================================================================
ERROR: testClient (test_sslpsk.SSLPSKTest.testClient)
Traceback (most recent call last):
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/test/test_sslpsk.py", line 80, in testClient
self.client_psk_sock = sslpsk.wrap_socket(self.client_socket, psk=self.psk, ciphers='PSK-AES256-CBC-SHA',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/sslpsk.py", line 99, in wrap_socket
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
Ran 1 test in 0.012s
FAILED (errors=1)
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'
testClient (sslpsk.test.test_sslpsk.SSLPSKTest.testClient) ... Exception in thread Thread-2 (accept):
Traceback (most recent call last):
File "/usr/lib64/python3.12/threading.py", line 1073, in _bootstrap_inner
ERROR
======================================================================
ERROR: testClient (sslpsk.test.test_sslpsk.SSLPSKTest.testClient)
Traceback (most recent call last):
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/test/test_sslpsk.py", line 80, in testClient
self.client_psk_sock = sslpsk.wrap_socket(self.client_socket, psk=self.psk, ciphers='PSK-AES256-CBC-SHA',
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/builddir/build/BUILD/sslpsk-1.0.0/sslpsk/sslpsk.py", line 99, in wrap_socket
sock = ssl.wrap_socket(*args, **kwargs)
^^^^^^^^^^^^^^^
AttributeError: module 'ssl' has no attribute 'wrap_socket'