diff options
author | tb <> | 2024-01-04 17:38:36 +0000 |
---|---|---|
committer | tb <> | 2024-01-04 17:38:36 +0000 |
commit | ffc98932e7dd8da47a52971639e2eb8ada5f7097 (patch) | |
tree | 0099e9b3077e473a202c464efd1bf63a3d98814a /src/lib/libcrypto/evp/e_null.c | |
parent | 744f9b9df3bd01a4f216013bf31f8d1151043177 (diff) | |
download | openbsd-ffc98932e7dd8da47a52971639e2eb8ada5f7097.tar.gz openbsd-ffc98932e7dd8da47a52971639e2eb8ada5f7097.tar.bz2 openbsd-ffc98932e7dd8da47a52971639e2eb8ada5f7097.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 * |