diff options
| author | tb <> | 2023-06-25 18:52:27 +0000 |
|---|---|---|
| committer | tb <> | 2023-06-25 18:52:27 +0000 |
| commit | b60bbdf8219ec24f77b8e7e83287a5eaab014cc3 (patch) | |
| tree | 0df2834b9d3887c87ec022222f74c206da81e21c /src/lib/libcrypto/ec/ec_kmeth.c | |
| parent | 85f78eb5e708f88227cbc815f99624d39cdfada5 (diff) | |
| download | openbsd-b60bbdf8219ec24f77b8e7e83287a5eaab014cc3.tar.gz openbsd-b60bbdf8219ec24f77b8e7e83287a5eaab014cc3.tar.bz2 openbsd-b60bbdf8219ec24f77b8e7e83287a5eaab014cc3.zip | |
Remove EC_EXTRA_DATA
With the ecdh_check() and ecdsa_check() abominations gone, we can finally
get rid of EC_EXTRA_DATA and EC_KEY_{get,insert}_key_method_data(). The
EC_EX_DATA_*() handlers, (which fortunately have always had "'package'
level visibility") join the ride to the great bit bucket in the sky.
Thanks to op for making this possible.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec_kmeth.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec_kmeth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/ec/ec_kmeth.c b/src/lib/libcrypto/ec/ec_kmeth.c index 56fb437093..4e296cfa68 100644 --- a/src/lib/libcrypto/ec/ec_kmeth.c +++ b/src/lib/libcrypto/ec/ec_kmeth.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec_kmeth.c,v 1.7 2022/11/26 16:08:52 tb Exp $ */ | 1 | /* $OpenBSD: ec_kmeth.c,v 1.8 2023/06/25 18:52:27 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 3 | * Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
| 4 | * project. | 4 | * project. |
| @@ -168,7 +168,6 @@ EC_KEY_new_method(ENGINE *engine) | |||
| 168 | ret->enc_flag = 0; | 168 | ret->enc_flag = 0; |
| 169 | ret->conv_form = POINT_CONVERSION_UNCOMPRESSED; | 169 | ret->conv_form = POINT_CONVERSION_UNCOMPRESSED; |
| 170 | ret->references = 1; | 170 | ret->references = 1; |
| 171 | ret->method_data = NULL; | ||
| 172 | 171 | ||
| 173 | if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_RSA, ret, &ret->ex_data)) | 172 | if (!CRYPTO_new_ex_data(CRYPTO_EX_INDEX_RSA, ret, &ret->ex_data)) |
| 174 | goto err; | 173 | goto err; |
