morphex wrote:
> I get the following messages running the testall.py script with
> m2crypto 0.13, can anyone tell me what's wrong?

Those happened either because of SWIG or OpenSSL incompatibility. They
have been fixed since. Either get the latest release (0.15) or the fresh
bits from Subversion. This shows how to get those:
http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto


> 
> ................................................................EEEEEE
> ======================================================================
> ERROR: test_cipher_mismatch (test_ssl.SSLClientTestCase)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/root/packages/files/m2crypto-0.13/tests/test_ssl.py", line 89,
> in test_cipher_mismatch
>     ctx = SSL.Context()
>   File
> "/usr/local/lib/python2.3/site-packages/M2Crypto/SSL/Context.py",
> line 41, in __init__
>     map()[self.ctx] = self
>   File
> "/usr/local/lib/python2.3/site-packages/M2Crypto/SSL/Context.py",
> line 20, in __setitem__
>     self.map[key] = value
> TypeError: unhashable type

-- 
  Heikki Toivonen
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to