summaryrefslogtreecommitdiff
path: root/lib/libcrypto
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2024-03-28 12:11:27 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2024-03-28 12:11:27 +0000
commit4b823979ec44c08201ee494c64f2d2f3b8a0460d (patch)
tree59ec42f48bd54c454133046be007ed9a57763460 /lib/libcrypto
parent18a3003b1f607c27341e4b8631ed4cc64248c9a3 (diff)
Use static inline for rc4_set_key_internal().
Diffstat (limited to 'lib/libcrypto')
-rw-r--r--lib/libcrypto/rc4/rc4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcrypto/rc4/rc4.c b/lib/libcrypto/rc4/rc4.c
index ff29fdda057..203fee4996b 100644
--- a/lib/libcrypto/rc4/rc4.c
+++ b/lib/libcrypto/rc4/rc4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rc4.c,v 1.10 2024/03/28 08:18:13 joshua Exp $ */
+/* $OpenBSD: rc4.c,v 1.11 2024/03/28 12:11:26 jsing Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -262,7 +262,7 @@ rc4_internal(RC4_KEY *key, size_t len, const unsigned char *indata,
void rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data);
#else
-static void
+static inline void
rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data)
{
RC4_INT tmp;