This commit is contained in:
iceman1001 2020-01-02 16:07:35 +01:00
commit 1abcae291c

View file

@ -150,9 +150,7 @@ static struct crypto_pk *crypto_pk_polarssl_open_priv_rsa(va_list vl) {
static int myrand(void *rng_state, unsigned char *output, size_t len) { static int myrand(void *rng_state, unsigned char *output, size_t len) {
size_t i; size_t i;
rng_state = NULL;
if (rng_state != NULL)
rng_state = NULL;
for (i = 0; i < len; ++i) for (i = 0; i < len; ++i)
output[i] = rand(); output[i] = rand();