commit | c60770699be48e9c3f3b4f542c8a4118be2936ab | [log] [tgz] |
---|---|---|
author | Alex Chan <alex@alexwlchan.net> | Fri Nov 18 13:53:39 2016 +0000 |
committer | Hynek Schlawack <hs@ox.cx> | Fri Nov 18 14:53:39 2016 +0100 |
tree | 9231d6ea9232d3eaeeb8db170d62b5ac2ad4d371 | |
parent | ec1e32d37cfc6c7be469a4b7c1c28448312362c2 [diff] [blame] |
Convert X509ExtTests to use pytest-style tests (#564)
diff --git a/src/OpenSSL/rand.py b/src/OpenSSL/rand.py index a22f9e5..8f51ad8 100644 --- a/src/OpenSSL/rand.py +++ b/src/OpenSSL/rand.py
@@ -31,6 +31,7 @@ See :manpage:`err(3)` for more information. """ + _raise_current_error = partial(_exception_from_error_queue, Error) _unspecified = object() @@ -202,6 +203,7 @@ """ _lib.RAND_screen() + if getattr(_lib, 'RAND_screen', None) is None: del screen