diff options
author | tb <> | 2024-01-04 17:38:36 +0000 |
---|---|---|
committer | tb <> | 2024-01-04 17:38:36 +0000 |
commit | f2a7290c2bb7399b90fac477d310553dc6fdf435 (patch) | |
tree | 0099e9b3077e473a202c464efd1bf63a3d98814a /src/lib/libcrypto/evp/e_aes.c | |
parent | 258a2014e5e6da7d7bc8516cdeb2ebb5a5c9d042 (diff) | |
download | openbsd-f2a7290c2bb7399b90fac477d310553dc6fdf435.tar.gz openbsd-f2a7290c2bb7399b90fac477d310553dc6fdf435.tar.bz2 openbsd-f2a7290c2bb7399b90fac477d310553dc6fdf435.zip |
Remove unused app_data from EVP_CIPHER
The EVP_CIPHER structs are static const data that the library returns when
you call EVP_aes_128_cbc(), for example. It makes no sense whatsoever to
hang user data off such a struct, but it's been there since forever.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp/e_aes.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_aes.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/evp/e_aes.c b/src/lib/libcrypto/evp/e_aes.c index eb7f520282..6ef3fb37c0 100644 --- a/src/lib/libcrypto/evp/e_aes.c +++ b/src/lib/libcrypto/evp/e_aes.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_aes.c,v 1.55 2023/11/18 09:37:15 tb Exp $ */ | 1 | /* $OpenBSD: e_aes.c,v 1.56 2024/01/04 17:38:36 tb Exp $ */ |
2 | /* ==================================================================== | 2 | /* ==================================================================== |
3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 2001-2011 The OpenSSL Project. All rights reserved. |
4 | * | 4 | * |
@@ -2550,7 +2550,6 @@ static const EVP_CIPHER aes_128_wrap = { | |||
2550 | .set_asn1_parameters = NULL, | 2550 | .set_asn1_parameters = NULL, |
2551 | .get_asn1_parameters = NULL, | 2551 | .get_asn1_parameters = NULL, |
2552 | .ctrl = aes_wrap_ctrl, | 2552 | .ctrl = aes_wrap_ctrl, |
2553 | .app_data = NULL, | ||
2554 | }; | 2553 | }; |
2555 | 2554 | ||
2556 | const EVP_CIPHER * | 2555 | const EVP_CIPHER * |
@@ -2572,7 +2571,6 @@ static const EVP_CIPHER aes_192_wrap = { | |||
2572 | .set_asn1_parameters = NULL, | 2571 | .set_asn1_parameters = NULL, |
2573 | .get_asn1_parameters = NULL, | 2572 | .get_asn1_parameters = NULL, |
2574 | .ctrl = aes_wrap_ctrl, | 2573 | .ctrl = aes_wrap_ctrl, |
2575 | .app_data = NULL, | ||
2576 | }; | 2574 | }; |
2577 | 2575 | ||
2578 | const EVP_CIPHER * | 2576 | const EVP_CIPHER * |
@@ -2594,7 +2592,6 @@ static const EVP_CIPHER aes_256_wrap = { | |||
2594 | .set_asn1_parameters = NULL, | 2592 | .set_asn1_parameters = NULL, |
2595 | .get_asn1_parameters = NULL, | 2593 | .get_asn1_parameters = NULL, |
2596 | .ctrl = aes_wrap_ctrl, | 2594 | .ctrl = aes_wrap_ctrl, |
2597 | .app_data = NULL, | ||
2598 | }; | 2595 | }; |
2599 | 2596 | ||
2600 | const EVP_CIPHER * | 2597 | const EVP_CIPHER * |