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/crypto.py b/src/OpenSSL/crypto.py index 52fcdaf..e1558ed 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -316,6 +316,8 @@ :return: The number of bits of the key. """ return _lib.EVP_PKEY_bits(self._pkey) + + PKeyType = PKey @@ -2180,6 +2182,7 @@ string_type = _lib.OBJ_nid2sn(nid) return _ffi.string(string_type) + PKCS7Type = PKCS7