summaryrefslogtreecommitdiffstats
path: root/fuzz/server.c
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-08-11 08:22:22 -0400
committerRich Salz <rsalz@openssl.org>2017-08-11 08:23:07 -0400
commit710769f0a9ed6b758bbf7ffa217c21b47f31a8a6 (patch)
tree8e40df34c3159e28682966cbff8d1bc550aedf92 /fuzz/server.c
parent5ff5f745d125afd08820b678682e804101ca5046 (diff)
Move FuzzerSetRand to separate file.
Use an inline rand.inc; this fixes Google's OSS-Fuzz builds. Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/4141)
Diffstat (limited to 'fuzz/server.c')
-rw-r--r--fuzz/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fuzz/server.c b/fuzz/server.c
index 6cc1f7f3da..e51ce10969 100644
--- a/fuzz/server.c
+++ b/fuzz/server.c
@@ -22,6 +22,8 @@
#include <openssl/err.h>
#include "fuzzer.h"
+#include "rand.inc"
+
static const uint8_t kCertificateDER[] = {
0x30, 0x82, 0x02, 0xff, 0x30, 0x82, 0x01, 0xe7, 0xa0, 0x03, 0x02, 0x01,
0x02, 0x02, 0x11, 0x00, 0xb1, 0x84, 0xee, 0x34, 0x99, 0x98, 0x76, 0xfb,