summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjsing <>2014-10-22 14:03:41 +0000
committerjsing <>2014-10-22 14:03:41 +0000
commitb1f3b316c6b24b0d08fe8ea1964bb106cd07a732 (patch)
tree2733fb629e11a41e4589d6d4d1aa8d804bf15636 /src
parentda8e4ccc9b1c87e1de8b20f144a77137766688e9 (diff)
downloadopenbsd-b1f3b316c6b24b0d08fe8ea1964bb106cd07a732.tar.gz
openbsd-b1f3b316c6b24b0d08fe8ea1964bb106cd07a732.tar.bz2
openbsd-b1f3b316c6b24b0d08fe8ea1964bb106cd07a732.zip
#undef LIBRESSL_INTERNAL for the RAND_pseudo_bytes() test.
Diffstat (limited to 'src')
-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 */