Remove unused app_data from EVP_CIPHER
authortb <tb@openbsd.org>
Thu, 4 Jan 2024 17:38:36 +0000 (17:38 +0000)
committertb <tb@openbsd.org>
Thu, 4 Jan 2024 17:38:36 +0000 (17:38 +0000)
commita6d8ed60ca638eba44c04a27bed331fd6f910b57
tree90fb9771564cc50d7b97153a26ce1a4bc06ffcbc
parenta03a5a63cb7f03d3b2ab75334ddeafa51700fbf3
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
15 files changed:
lib/libcrypto/evp/e_aes.c
lib/libcrypto/evp/e_bf.c
lib/libcrypto/evp/e_camellia.c
lib/libcrypto/evp/e_cast.c
lib/libcrypto/evp/e_des.c
lib/libcrypto/evp/e_des3.c
lib/libcrypto/evp/e_gost2814789.c
lib/libcrypto/evp/e_idea.c
lib/libcrypto/evp/e_null.c
lib/libcrypto/evp/e_rc2.c
lib/libcrypto/evp/e_rc4.c
lib/libcrypto/evp/e_rc4_hmac_md5.c
lib/libcrypto/evp/e_sm4.c
lib/libcrypto/evp/e_xcbc_d.c
lib/libcrypto/evp/evp_local.h