From: Nick Mathewson Date: Wed, 6 Feb 2019 17:37:02 +0000 (-0500) Subject: Remove extraneous #if/#endif wrapper in crypto_rand.c X-Git-Tag: tor-0.4.1.0-alpha-dev~3^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21d184a184b2ac4e4b8a1ff9853cb50de31a41fe;p=thirdparty%2Ftor.git Remove extraneous #if/#endif wrapper in crypto_rand.c I don't know how this got here, but this kind of a wrapper only belongs in a header file. --- diff --git a/src/lib/crypt_ops/crypto_rand.c b/src/lib/crypt_ops/crypto_rand.c index f45ff719d3..5a739a8f1b 100644 --- a/src/lib/crypt_ops/crypto_rand.c +++ b/src/lib/crypt_ops/crypto_rand.c @@ -11,7 +11,6 @@ * number generators, and working with randomness. **/ -#ifndef CRYPTO_RAND_PRIVATE #define CRYPTO_RAND_PRIVATE #include "lib/crypt_ops/crypto_rand.h" @@ -737,5 +736,3 @@ crypto_force_rand_ssleay(void) #endif return 0; } - -#endif /* !defined(CRYPTO_RAND_PRIVATE) */