summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_idea.c
diff options
context:
space:
mode:
authortb <>2024-01-04 17:38:36 +0000
committertb <>2024-01-04 17:38:36 +0000
commitf2a7290c2bb7399b90fac477d310553dc6fdf435 (patch)
tree0099e9b3077e473a202c464efd1bf63a3d98814a /src/lib/libcrypto/evp/e_idea.c
parent258a2014e5e6da7d7bc8516cdeb2ebb5a5c9d042 (diff)
downloadopenbsd-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_idea.c')
-rw-r--r--src/lib/libcrypto/evp/e_idea.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/e_idea.c b/src/lib/libcrypto/evp/e_idea.c
index b2129dc990..025a1f5087 100644
--- a/src/lib/libcrypto/evp/e_idea.c
+++ b/src/lib/libcrypto/evp/e_idea.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: e_idea.c,v 1.20 2023/07/07 19:37:53 beck Exp $ */ 1/* $OpenBSD: e_idea.c,v 1.21 2024/01/04 17:38:36 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -189,7 +189,6 @@ static const EVP_CIPHER idea_cbc = {
189 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 189 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
190 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 190 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
191 .ctrl = NULL, 191 .ctrl = NULL,
192 .app_data = NULL,
193}; 192};
194 193
195const EVP_CIPHER * 194const EVP_CIPHER *
@@ -211,7 +210,6 @@ static const EVP_CIPHER idea_cfb64 = {
211 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 210 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
212 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 211 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
213 .ctrl = NULL, 212 .ctrl = NULL,
214 .app_data = NULL,
215}; 213};
216 214
217const EVP_CIPHER * 215const EVP_CIPHER *
@@ -233,7 +231,6 @@ static const EVP_CIPHER idea_ofb = {
233 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 231 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
234 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 232 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
235 .ctrl = NULL, 233 .ctrl = NULL,
236 .app_data = NULL,
237}; 234};
238 235
239const EVP_CIPHER * 236const EVP_CIPHER *
@@ -255,7 +252,6 @@ static const EVP_CIPHER idea_ecb = {
255 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv, 252 .set_asn1_parameters = EVP_CIPHER_set_asn1_iv,
256 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv, 253 .get_asn1_parameters = EVP_CIPHER_get_asn1_iv,
257 .ctrl = NULL, 254 .ctrl = NULL,
258 .app_data = NULL,
259}; 255};
260 256
261const EVP_CIPHER * 257const EVP_CIPHER *