diff options
author | tb <> | 2023-07-28 10:35:14 +0000 |
---|---|---|
committer | tb <> | 2023-07-28 10:35:14 +0000 |
commit | f081b066a62db7e3bea15c67edb84e04026495b2 (patch) | |
tree | a224a2dfd6e61c26d9769cf16e0585806b712161 /src/lib/libcrypto/rc4/rc4_skey.c | |
parent | d13035e40f9f0aeb77be3097963f11fabf83e401 (diff) | |
download | openbsd-f081b066a62db7e3bea15c67edb84e04026495b2.tar.gz openbsd-f081b066a62db7e3bea15c67edb84e04026495b2.tar.bz2 openbsd-f081b066a62db7e3bea15c67edb84e04026495b2.zip |
Remove various ${thing}_options
Various, ancient ciphers exposed some of their innards via an _options()
API. Apart from openssl version/speed, only some lua thingie in nmap ever
looked at these. Go figure.
hppa testing by miod, i386 testing by sthen. Thanks!
ok jsing
Diffstat (limited to 'src/lib/libcrypto/rc4/rc4_skey.c')
-rw-r--r-- | src/lib/libcrypto/rc4/rc4_skey.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/src/lib/libcrypto/rc4/rc4_skey.c b/src/lib/libcrypto/rc4/rc4_skey.c index e32a6e84a3..5833c7bd07 100644 --- a/src/lib/libcrypto/rc4/rc4_skey.c +++ b/src/lib/libcrypto/rc4/rc4_skey.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: rc4_skey.c,v 1.15 2022/11/26 16:08:54 tb Exp $ */ | 1 | /* $OpenBSD: rc4_skey.c,v 1.16 2023/07/28 10:35:14 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 | * |
@@ -57,24 +57,8 @@ | |||
57 | */ | 57 | */ |
58 | 58 | ||
59 | #include <openssl/rc4.h> | 59 | #include <openssl/rc4.h> |
60 | #include "rc4_local.h" | ||
61 | #include <openssl/opensslv.h> | ||
62 | 60 | ||
63 | const char * | 61 | #include "rc4_local.h" |
64 | RC4_options(void) | ||
65 | { | ||
66 | #ifdef RC4_INDEX | ||
67 | if (sizeof(RC4_INT) == 1) | ||
68 | return("rc4(idx,char)"); | ||
69 | else | ||
70 | return("rc4(idx,int)"); | ||
71 | #else | ||
72 | if (sizeof(RC4_INT) == 1) | ||
73 | return("rc4(ptr,char)"); | ||
74 | else | ||
75 | return("rc4(ptr,int)"); | ||
76 | #endif | ||
77 | } | ||
78 | 62 | ||
79 | /* RC4 as implemented from a posting from | 63 | /* RC4 as implemented from a posting from |
80 | * Newsgroups: sci.crypt | 64 | * Newsgroups: sci.crypt |