aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/cryptography/hazmat/backends/openssl/backend.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cryptography/hazmat/backends/openssl/backend.py b/src/cryptography/hazmat/backends/openssl/backend.py
index a08cdb07..e480ea22 100644
--- a/src/cryptography/hazmat/backends/openssl/backend.py
+++ b/src/cryptography/hazmat/backends/openssl/backend.py
@@ -1271,9 +1271,6 @@ class Backend(object):
res = self._lib.EC_KEY_generate_key(ec_cdata)
self.openssl_assert(res == 1)
- res = self._lib.EC_KEY_check_key(ec_cdata)
- self.openssl_assert(res == 1)
-
evp_pkey = self._ec_cdata_to_evp_pkey(ec_cdata)
return _EllipticCurvePrivateKey(self, ec_cdata, evp_pkey)