diff options
| author | Brent Cook <bcook@openbsd.org> | 2015-09-11 03:20:41 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2015-09-11 03:20:41 -0500 |
| commit | 384e71614f04e5962f8a0aee429477eb633f6ff4 (patch) | |
| tree | 3cb44b93a03e9e6f1381d85f8c4f162caa5aa2b7 | |
| parent | 1ea6203cbf2af3a83d723365ea7561fe62aabb4a (diff) | |
| download | portable-384e71614f04e5962f8a0aee429477eb633f6ff4.tar.gz portable-384e71614f04e5962f8a0aee429477eb633f6ff4.tar.bz2 portable-384e71614f04e5962f8a0aee429477eb633f6ff4.zip | |
remove unneeded arc4random patch
| -rw-r--r-- | patches/arc4random.c.patch | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/patches/arc4random.c.patch b/patches/arc4random.c.patch deleted file mode 100644 index 9f9c476..0000000 --- a/patches/arc4random.c.patch +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | --- crypto/compat/arc4random.c.orig 2015-07-20 07:41:17.000000000 -0600 | ||
| 2 | +++ crypto/compat/arc4random.c 2015-07-20 07:41:58.000000000 -0600 | ||
| 3 | @@ -36,8 +36,11 @@ | ||
| 4 | #define KEYSTREAM_ONLY | ||
| 5 | #include "chacha_private.h" | ||
| 6 | |||
| 7 | +#ifndef min | ||
| 8 | #define min(a, b) ((a) < (b) ? (a) : (b)) | ||
| 9 | -#ifdef __GNUC__ | ||
| 10 | +#endif | ||
| 11 | + | ||
| 12 | +#if defined(__GNUC__) || defined(_MSC_VER) | ||
| 13 | #define inline __inline | ||
| 14 | #else /* !__GNUC__ */ | ||
| 15 | #define inline | ||
