summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/e_rc4.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/e_rc4.c')
-rw-r--r--src/lib/libcrypto/evp/e_rc4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/e_rc4.c b/src/lib/libcrypto/evp/e_rc4.c
index 7afc6af9cd..d79bfa729a 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.15 2022/11/26 16:08:52 tb Exp $ */ 1/* $OpenBSD: e_rc4.c,v 1.16 2023/07/07 13:54:45 beck 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 *
@@ -115,12 +115,14 @@ EVP_rc4(void)
115{ 115{
116 return (&r4_cipher); 116 return (&r4_cipher);
117} 117}
118LCRYPTO_ALIAS(EVP_rc4);
118 119
119const EVP_CIPHER * 120const EVP_CIPHER *
120EVP_rc4_40(void) 121EVP_rc4_40(void)
121{ 122{
122 return (&r4_40_cipher); 123 return (&r4_40_cipher);
123} 124}
125LCRYPTO_ALIAS(EVP_rc4_40);
124 126
125static int 127static int
126rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 128rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,