diff options
author | Ofek Lev <ofekmeister@gmail.com> | 2017-04-01 15:47:20 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-04-01 15:47:20 -0400 |
commit | d827e9c0125c871f1fd4df44c3b666ac758a4c4b (patch) | |
tree | de2934142c34e8fbde8b8ea7e58d42a2d2cdd14e /src | |
parent | 8d85b9564284a66aa28a0cbb759090b777698e43 (diff) | |
download | cryptography-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.py | 3 |
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) |