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_null.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_null.c')
-rw-r--r-- | src/lib/libcrypto/evp/e_null.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/e_null.c b/src/lib/libcrypto/evp/e_null.c index f30c207ff6..d3364de1c5 100644 --- a/src/lib/libcrypto/evp/e_null.c +++ b/src/lib/libcrypto/evp/e_null.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: e_null.c,v 1.18 2023/07/07 19:37:53 beck Exp $ */ | 1 | /* $OpenBSD: e_null.c,v 1.19 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 | * |
@@ -80,7 +80,6 @@ static const EVP_CIPHER n_cipher = { | |||
80 | NULL, | 80 | NULL, |
81 | NULL, | 81 | NULL, |
82 | NULL, | 82 | NULL, |
83 | NULL | ||
84 | }; | 83 | }; |
85 | 84 | ||
86 | const EVP_CIPHER * | 85 | const EVP_CIPHER * |