2 * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved.
4 * Licensed under the OpenSSL licenses, (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 * https://www.openssl.org/source/license.html
8 * or in the file LICENSE in the source distribution.
10 #include <openssl/rand.h>
12 static int fuzz_bytes(unsigned char *buf, int num)
14 unsigned char val = 1;
21 static int fuzz_status(void)
26 static RAND_METHOD fuzz_rand_method = {
35 void FuzzerSetRand(void)
37 RAND_set_rand_method(&fuzz_rand_method);