commit | 22a4b666a933f4dd3cd00709cd5c3ec754e6c05e | [log] [tgz] |
---|---|---|
author | Hynek Schlawack <hs@ox.cx> | Fri Mar 11 14:59:39 2016 +0100 |
committer | Hynek Schlawack <hs@ox.cx> | Fri Mar 11 14:59:39 2016 +0100 |
tree | 8403fccde0ab2d9772ec6dd8457298c7b6cebe34 | |
parent | a7a63af02faf633f2b400adfaace98219b2bde6c [diff] |
More explicit assert
diff --git a/src/OpenSSL/SSL.py b/src/OpenSSL/SSL.py index ffb1998..10116ed 100644 --- a/src/OpenSSL/SSL.py +++ b/src/OpenSSL/SSL.py
@@ -823,7 +823,7 @@ raise TypeError("cipher_list must be a byte string.") _openssl_assert( - _lib.SSL_CTX_set_cipher_list(self._context, cipher_list) + _lib.SSL_CTX_set_cipher_list(self._context, cipher_list) == 1 ) def set_client_ca_list(self, certificate_authorities):