Merge pull request #216 from aburks/IS-215-SignatureUsesOldRNG

Issue #215: Signature module uses old RNG
This commit is contained in:
dgarske
2015-12-10 17:08:36 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -175,7 +175,7 @@ int wc_SignatureGenerate(
enum wc_HashType hash_type, enum wc_SignatureType sig_type,
const byte* data, word32 data_len,
byte* sig, word32 *sig_len,
const void* key, word32 key_len, RNG* rng)
const void* key, word32 key_len, WC_RNG* rng)
{
int ret, hash_len;
byte *hash_data = NULL;

View File

@@ -54,7 +54,7 @@ WOLFSSL_API int wc_SignatureGenerate(
const byte* data, word32 data_len,
byte* sig, word32 *sig_len,
const void* key, word32 key_len,
RNG* rng);
WC_RNG* rng);
#ifdef __cplusplus
} /* extern "C" */