commit | 32fc4e6460842c9b0983008f105b04f77e4b5633 | [log] [tgz] |
---|---|---|
author | Paul Kehrer <paul.l.kehrer@gmail.com> | Fri Jun 03 15:21:44 2016 -0700 |
committer | Hynek Schlawack <hs@ox.cx> | Fri Jun 03 15:21:44 2016 -0700 |
tree | 9ba02c52ca774ab78508d770637cc420b48ade56 | |
parent | 8edeb3a214c61b2f5c2abbd8bbb0a51709a1126b [diff] [blame] |
fix a small bug with load_publickey (#481) * fix a small bug with load_publickey * update docstring, rename test method * make hynek happy
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py index 21bdadd..4c1ce87 100644 --- a/src/OpenSSL/crypto.py +++ b/src/OpenSSL/crypto.py
@@ -2450,6 +2450,7 @@ pkey = PKey.__new__(PKey) pkey._pkey = _ffi.gc(evp_pkey, _lib.EVP_PKEY_free) + pkey._only_public = True return pkey