]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove extraneous #if/#endif wrapper in crypto_rand.c
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Feb 2019 17:37:02 +0000 (12:37 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 7 Feb 2019 03:05:39 +0000 (22:05 -0500)
I don't know how this got here, but this kind of a wrapper only
belongs in a header file.

src/lib/crypt_ops/crypto_rand.c

index f45ff719d3ff46d4a417a6b6d1b616f823333847..5a739a8f1b77d3dee0977b697e571d697a3765e7 100644 (file)
@@ -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) */