This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The idea is to set RNG for openssl application, so it can generate replay-able traffic | |
*/ | |
#include <openssl/rand.h> | |
static void predict_rand_cleanup() {} | |
static int predict_rand_status() { return 1; } | |
static void predict_rand_seed(const void *buf, int num) {} | |
static int predict_rand_bytes(unsigned char *buf, int num) | |
{ |