meta-openembedded/meta-python/recipes-devtools/python/python3-m2crypto
Mingli Yu 5cce697ae1
python3-m2crypto: Use qq format when time_t is 64bit on 32bit system
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: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-01 08:11:12 -07:00
..
0001-setup.py-Make-the-cmd-available.patch python3-m2crypto: upgrade 0.44.0 -> 0.45.0 2025-04-23 19:35:06 -07:00
0001-timeout.py-use-qq-format-when-time_t-is-64bit-on-32b.patch python3-m2crypto: Use qq format when time_t is 64bit on 32bit system 2025-07-01 08:11:12 -07:00