diff options
| author | Haixiao Yan <haixiao.yan.cn@windriver.com> | 2025-11-03 21:56:44 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-04 16:52:46 -0800 |
| commit | 076217856e246a9eed9e8bafafa4876f70980860 (patch) | |
| tree | 93820cd22f19acf1f998e12105e0f0b2b1033ef4 /meta-python/recipes-devtools/python/python3-aspectlib | |
| parent | c9510a21cc40b0e736b14a6fca60c73d6fb4f9f1 (diff) | |
| download | meta-openembedded-076217856e246a9eed9e8bafafa4876f70980860.tar.gz | |
python3-m2crypto: correct struct packing on 32-bit with _TIME_BITS=64
Fixes:
# python3 -munittest -v test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts
test_server_simple_timeouts (test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts) ... ERROR
======================================================================
ERROR: test_server_simple_timeouts (test_ssl.MiscSSLClientTestCase.test_server_simple_timeouts)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/python3-m2crypto/tests/test_ssl.py", line 474, in test_server_simple_timeouts
s.set_socket_read_timeout(SSL.timeout())
~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/M2Crypto/SSL/Connection.py", line 680, in set_socket_read_timeout
self.socket.setsockopt(
~~~~~~~~~~~~~~~~~~~~~~^
socket.SOL_SOCKET, socket.SO_RCVTIMEO, timeo.pack()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
OSError: [Errno 22] Invalid argument
Signed-off-by: Haixiao Yan <haixiao.yan.cn@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-aspectlib')
0 files changed, 0 insertions, 0 deletions
