[PYTHON-CRYPTO] M2Crypto : Regression test failure

Heikki Toivonen heikki at OSAFOUNDATION.ORG
Wed Oct 7 07:01:31 CEST 2009


That seems like a bug, can you file it here:
https://bugzilla.osafoundation.org/enter_bug.cgi?product=M2Crypto


Benoit Lecocq wrote:
> Hi,
> 
> I try to use M2Crypto with OpenBSD to build a Ports but when I try the
> regression test I obtain :
> 
> test_verify_dsa (tests.test_ecdsa.ECDSATestCase) ... ok
> test_ec_curves_ECDSA (tests.test_ec_curves.ECCurveTests) ... ok
> 
> ======================================================================
> ERROR: test_server_simple_timeouts (tests.test_ssl.MiscSSLClientTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File
> "/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/tests/test_ssl.py", line
> 329, in test_server_simple_timeouts
>     s.set_socket_write_timeout(SSL.timeout(909,9))
>   File
> "/linux/tmp/py-m2crypto-0.20.1/M2Crypto-0.20.1/M2Crypto/SSL/Connection.py",
> line 349, in set_socket_write_timeout
>     self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_SNDTIMEO,
> timeo.pack())
>   File "<string>", line 1, in setsockopt
> error: (33, 'Numerical argument out of domain')
> 
> ----------------------------------------------------------------------
> Ran 236 tests in 85.907s
> 
> FAILED (errors=1)
> 
> 
> Is it a know problem ? A know bug ?
> 
> Thanks,
> benoit


-- 
  Heikki Toivonen - http://heikkitoivonen.net



More information about the python-crypto mailing list