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 c0f12fb03c..df07483416 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.19 2024/01/07 15:42:57 tb Exp $ */ 1/* $OpenBSD: e_rc4.c,v 1.20 2024/04/09 13:52:41 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 *
@@ -117,12 +117,14 @@ EVP_rc4(void)
117{ 117{
118 return (&r4_cipher); 118 return (&r4_cipher);
119} 119}
120LCRYPTO_ALIAS(EVP_rc4);
120 121
121const EVP_CIPHER * 122const EVP_CIPHER *
122EVP_rc4_40(void) 123EVP_rc4_40(void)
123{ 124{
124 return (&r4_40_cipher); 125 return (&r4_40_cipher);
125} 126}
127LCRYPTO_ALIAS(EVP_rc4_40);
126 128
127static int 129static int
128rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, 130rc4_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,