diff options
author | wtc%google.com <devnull@localhost> | 2009-03-30 19:21:08 +0000 |
---|---|---|
committer | wtc%google.com <devnull@localhost> | 2009-03-30 19:21:08 +0000 |
commit | 74fb9d5c4174c8b636b80fdc7a735df4678b4833 (patch) | |
tree | 417d2c897e4bc5071efcec3159af0d24b758fad6 | |
parent | 0ca0d2cd689c4b435efe4406c2bcdbd81f526a66 (diff) | |
download | nss-hg-74fb9d5c4174c8b636b80fdc7a735df4678b4833.tar.gz |
Bug 457045: changed prng_Hash_df back to return SECStatus. r=rrelyea.
-rw-r--r-- | security/nss/lib/freebl/drbg.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/drbg.c b/security/nss/lib/freebl/drbg.c index a0e008624..64c531d70 100644 --- a/security/nss/lib/freebl/drbg.c +++ b/security/nss/lib/freebl/drbg.c @@ -157,7 +157,7 @@ static RNGContext theGlobalRng; * input_string_1 must be supplied. * if input_string_2 is not supplied, NULL should be passed for this parameter. */ -static void +static SECStatus prng_Hash_df(PRUint8 *requested_bytes, unsigned int no_of_bytes_to_return, const PRUint8 *input_string_1, unsigned int input_string_1_len, const PRUint8 *input_string_2, unsigned int input_string_2_len) @@ -182,6 +182,7 @@ prng_Hash_df(PRUint8 *requested_bytes, unsigned int no_of_bytes_to_return, requested_bytes += hash_return_len; no_of_bytes_to_return -= hash_return_len; } + return SECSuccess; } |