Quellcode durchsuchen

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.
Nick Mathewson vor 6 Jahren
Ursprung
Commit
21d184a184
1 geänderte Dateien mit 0 neuen und 3 gelöschten Zeilen
  1. 0 3
      src/lib/crypt_ops/crypto_rand.c

+ 0 - 3
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) */