Commit bf8a9fb6 authored by Niels Möller's avatar Niels Möller

*** empty log message ***

Rev: src/spki.c:1.35
parent b15f8f9a
......@@ -994,6 +994,7 @@ spki_pkcs5_encrypt(struct randomness *r,
assert(crypto);
assert(prf);
/* NOTE: Allows random to be of bad quality */
salt = lsh_string_alloc(salt_length);
RANDOM(r, salt->length, salt->data);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment