summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2017-05-31 04:26:27 -0400
committerHynek Schlawack <hs@ox.cx>2017-05-31 10:26:27 +0200
commit0d2aec53b165cd32e66dce647f3642a4eb4bc4bc (patch)
treeabd9bd6286b00d83ea588914c5fe68eb88652439
parentd52975cef3a36e18552aeb23de7c06aa73d76454 (diff)
downloadpyopenssl-0d2aec53b165cd32e66dce647f3642a4eb4bc4bc.tar.gz
Use the normal OpenSSL function instead of the crypto wrapper (#629)
We don’t support 0.9.8 anymore.
-rw-r--r--src/OpenSSL/crypto.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/OpenSSL/crypto.py b/src/OpenSSL/crypto.py
index 98a7c78..3ef0e9b 100644
--- a/src/OpenSSL/crypto.py
+++ b/src/OpenSSL/crypto.py
@@ -309,7 +309,7 @@ class PKey(object):
:return: The type of the key.
"""
- return _lib.Cryptography_EVP_PKEY_id(self._pkey)
+ return _lib.EVP_PKEY_id(self._pkey)
def bits(self):
"""