wolfssl: Fix for issue with blinding not defined
Closes strongswan/strongswan#156.
This commit is contained in:
committed by
Tobias Brunner
parent
4f4e026d3b
commit
29f7017663
@@ -419,7 +419,9 @@ static private_wolfssl_rsa_private_key_t *create_empty()
|
|||||||
free(this);
|
free(this);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#ifdef WC_RSA_BLINDING
|
||||||
this->rsa.rng = &this->rng;
|
this->rsa.rng = &this->rng;
|
||||||
|
#endif
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user