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_rc4.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_rc4.c')
| -rw-r--r-- | src/lib/libcrypto/evp/e_rc4.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/e_rc4.c b/src/lib/libcrypto/evp/e_rc4.c index 2503d37049..4588dfc719 100644 --- a/src/lib/libcrypto/evp/e_rc4.c +++ b/src/lib/libcrypto/evp/e_rc4.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: e_rc4.c,v 1.17 2023/07/07 19:37:53 beck Exp $ */ | 1 | /* $OpenBSD: e_rc4.c,v 1.18 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 | * |
| @@ -93,7 +93,6 @@ static const EVP_CIPHER r4_cipher = { | |||
| 93 | NULL, | 93 | NULL, |
| 94 | NULL, | 94 | NULL, |
| 95 | NULL, | 95 | NULL, |
| 96 | NULL | ||
| 97 | }; | 96 | }; |
| 98 | 97 | ||
| 99 | static const EVP_CIPHER r4_40_cipher = { | 98 | static const EVP_CIPHER r4_40_cipher = { |
| @@ -107,7 +106,6 @@ static const EVP_CIPHER r4_40_cipher = { | |||
| 107 | NULL, | 106 | NULL, |
| 108 | NULL, | 107 | NULL, |
| 109 | NULL, | 108 | NULL, |
| 110 | NULL | ||
| 111 | }; | 109 | }; |
| 112 | 110 | ||
| 113 | const EVP_CIPHER * | 111 | const EVP_CIPHER * |
