From 3715bfbf60f7f7c376bf83de386a0ddfb3fe73c2 Mon Sep 17 00:00:00 2001 From: jsing Date: Thu, 28 Mar 2024 12:11:26 +0000 Subject: [PATCH] Use static inline for rc4_set_key_internal(). --- lib/libcrypto/rc4/rc4.c | 4 ++-- 1 file 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; -- 2.20.1