From: jsing Date: Thu, 28 Mar 2024 12:11:26 +0000 (+0000) Subject: Use static inline for rc4_set_key_internal(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3715bfbf60f7f7c376bf83de386a0ddfb3fe73c2;p=openbsd Use static inline for rc4_set_key_internal(). --- 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;