diff options
author | jsg <> | 2022-08-28 11:11:25 +0000 |
---|---|---|
committer | jsg <> | 2022-08-28 11:11:25 +0000 |
commit | d41edc9b0d24a1228f0d3bbfaf3d70c6be7efbe7 (patch) | |
tree | 05fff3e443ac213313f11ecec65c4165ec59df48 | |
parent | 88b782fe902b461e11c8f4311d512c053cfe8864 (diff) | |
download | openbsd-d41edc9b0d24a1228f0d3bbfaf3d70c6be7efbe7.tar.gz openbsd-d41edc9b0d24a1228f0d3bbfaf3d70c6be7efbe7.tar.bz2 openbsd-d41edc9b0d24a1228f0d3bbfaf3d70c6be7efbe7.zip |
remove unused blowfish inline defines
inline use was removed in 1998
-rw-r--r-- | src/lib/libc/crypt/blowfish.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libc/crypt/blowfish.c b/src/lib/libc/crypt/blowfish.c index e66d9befa6..05ad00d7a1 100644 --- a/src/lib/libc/crypt/blowfish.c +++ b/src/lib/libc/crypt/blowfish.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: blowfish.c,v 1.20 2021/11/29 01:04:45 djm Exp $ */ | 1 | /* $OpenBSD: blowfish.c,v 1.21 2022/08/28 11:11:25 jsg Exp $ */ |
2 | /* | 2 | /* |
3 | * Blowfish block cipher for OpenBSD | 3 | * Blowfish block cipher for OpenBSD |
4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> | 4 | * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> |
@@ -44,13 +44,6 @@ | |||
44 | #include <sys/types.h> | 44 | #include <sys/types.h> |
45 | #include <blf.h> | 45 | #include <blf.h> |
46 | 46 | ||
47 | #undef inline | ||
48 | #ifdef __GNUC__ | ||
49 | #define inline __inline | ||
50 | #else /* !__GNUC__ */ | ||
51 | #define inline | ||
52 | #endif /* !__GNUC__ */ | ||
53 | |||
54 | /* Function for Feistel Networks */ | 47 | /* Function for Feistel Networks */ |
55 | 48 | ||
56 | #define F(s, x) ((((s)[ (((x)>>24)&0xFF)] \ | 49 | #define F(s, x) ((((s)[ (((x)>>24)&0xFF)] \ |