Commit 9af577fe authored by Nick Mathewson's avatar Nick Mathewson
Browse files

Do not use pseudorandom nonces


svn:r321
parent 71b158bf
......@@ -516,7 +516,7 @@ int or_handshake_server_process_auth(connection_t *conn) {
conn->address = strdup(router->address);
/* generate a nonce */
retval = crypto_pseudo_rand(8, conn->nonce);
retval = crypto_rand(8, conn->nonce);
if (retval) { /* error */
log(LOG_ERR,"Cannot generate a nonce.");
return -1;
......
Supports Markdown
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