summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjsing <>2014-10-22 14:03:41 +0000
committerjsing <>2014-10-22 14:03:41 +0000
commit5746ae595318fcc502641bd37fd223911482aa77 (patch)
tree2733fb629e11a41e4589d6d4d1aa8d804bf15636
parent8dd7a41191349ee99213e5b4b98907f9c45da865 (diff)
downloadopenbsd-5746ae595318fcc502641bd37fd223911482aa77.tar.gz
openbsd-5746ae595318fcc502641bd37fd223911482aa77.tar.bz2
openbsd-5746ae595318fcc502641bd37fd223911482aa77.zip
#undef LIBRESSL_INTERNAL for the RAND_pseudo_bytes() test.
-rw-r--r--src/regress/lib/libcrypto/rand/randtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/regress/lib/libcrypto/rand/randtest.c b/src/regress/lib/libcrypto/rand/randtest.c
index 8317746642..7217c14c64 100644
--- a/src/regress/lib/libcrypto/rand/randtest.c
+++ b/src/regress/lib/libcrypto/rand/randtest.c
@@ -58,6 +58,8 @@
58 58
59#include <stdio.h> 59#include <stdio.h>
60#include <stdlib.h> 60#include <stdlib.h>
61
62#undef LIBRESSL_INTERNAL /* Needed to get RAND_pseudo_bytes(). */
61#include <openssl/rand.h> 63#include <openssl/rand.h>
62 64
63/* some FIPS 140-1 random number test */ 65/* some FIPS 140-1 random number test */