aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOfek Lev <ofekmeister@gmail.com>2017-04-01 15:47:20 -0400
committerAlex Gaynor <alex.gaynor@gmail.com>2017-04-01 15:47:20 -0400
commitd827e9c0125c871f1fd4df44c3b666ac758a4c4b (patch)
treede2934142c34e8fbde8b8ea7e58d42a2d2cdd14e /src
parent8d85b9564284a66aa28a0cbb759090b777698e43 (diff)
downloadcryptography-d827e9c0125c871f1fd4df44c3b666ac758a4c4b.tar.gz
cryptography-d827e9c0125c871f1fd4df44c3b666ac758a4c4b.tar.bz2
cryptography-d827e9c0125c871f1fd4df44c3b666ac758a4c4b.zip
remove key check (#3473)
Diffstat (limited to 'src')
-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)