diff options
| author | jsing <> | 2024-03-28 12:11:26 +0000 |
|---|---|---|
| committer | jsing <> | 2024-03-28 12:11:26 +0000 |
| commit | 47417efb43018f53668a061252fa1164aec412e3 (patch) | |
| tree | ddcbe7a9d615d86ec39faae15fcce74e0ea9c2d5 /src | |
| parent | 7f3c6d871fd6915307373842ce25b9c3f727f90a (diff) | |
| download | openbsd-47417efb43018f53668a061252fa1164aec412e3.tar.gz openbsd-47417efb43018f53668a061252fa1164aec412e3.tar.bz2 openbsd-47417efb43018f53668a061252fa1164aec412e3.zip | |
Use static inline for rc4_set_key_internal().
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/rc4/rc4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/rc4/rc4.c b/src/lib/libcrypto/rc4/rc4.c index ff29fdda05..203fee4996 100644 --- a/src/lib/libcrypto/rc4/rc4.c +++ b/src/lib/libcrypto/rc4/rc4.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: rc4.c,v 1.10 2024/03/28 08:18:13 joshua Exp $ */ | 1 | /* $OpenBSD: rc4.c,v 1.11 2024/03/28 12:11:26 jsing 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 | * |
| @@ -262,7 +262,7 @@ rc4_internal(RC4_KEY *key, size_t len, const unsigned char *indata, | |||
| 262 | void rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data); | 262 | void rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data); |
| 263 | 263 | ||
| 264 | #else | 264 | #else |
| 265 | static void | 265 | static inline void |
| 266 | rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data) | 266 | rc4_set_key_internal(RC4_KEY *key, int len, const unsigned char *data) |
| 267 | { | 267 | { |
| 268 | RC4_INT tmp; | 268 | RC4_INT tmp; |
