summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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):
"""