summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsing <jsing@openbsd.org>2014-10-22 14:03:41 +0000
committerjsing <jsing@openbsd.org>2014-10-22 14:03:41 +0000
commit2212b4ad7bfaa276ee60ff69ae925fb8da09eceb (patch)
tree3159e7401e6b3f1442921af5b40b63552be64eab
parentPlace most of the RAND_* functions under #ifndef LIBRESSL_INTERNAL (some (diff)
downloadwireguard-openbsd-2212b4ad7bfaa276ee60ff69ae925fb8da09eceb.tar.xz
wireguard-openbsd-2212b4ad7bfaa276ee60ff69ae925fb8da09eceb.zip
#undef LIBRESSL_INTERNAL for the RAND_pseudo_bytes() test.
-rw-r--r--regress/lib/libcrypto/rand/randtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/regress/lib/libcrypto/rand/randtest.c b/regress/lib/libcrypto/rand/randtest.c
index 83177466428..7217c14c64c 100644
--- a/regress/lib/libcrypto/rand/randtest.c
+++ b/regress/lib/libcrypto/rand/randtest.c
@@ -58,6 +58,8 @@
#include <stdio.h>
#include <stdlib.h>
+
+#undef LIBRESSL_INTERNAL /* Needed to get RAND_pseudo_bytes(). */
#include <openssl/rand.h>
/* some FIPS 140-1 random number test */