Parcourir la source

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 il y a 6 ans
Parent
commit
21d184a184
1 fichiers modifiés avec 0 ajouts et 3 suppressions
  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) */