summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/rc4/rc4_skey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/rc4/rc4_skey.c')
-rw-r--r--src/lib/libcrypto/rc4/rc4_skey.c20
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
63const char * 61#include "rc4_local.h"
64RC4_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