Loading src/or/onion.c +7 −7 Original line number Diff line number Diff line Loading @@ -576,7 +576,7 @@ onion_skin_create(crypto_pk_env_t *dest_router_key, if (crypto_rand(16, pubkey)) goto err; /* XXXX You can't just run around RSA-encrypting any bitstream: if it's /* You can't just run around RSA-encrypting any bitstream: if it's * greater than the RSA key, then OpenSSL will happily encrypt, * and later decrypt to the wrong value. So we set the first bit * of 'pubkey' to 0. This means that our symmetric key is really only Loading Loading
src/or/onion.c +7 −7 Original line number Diff line number Diff line Loading @@ -576,7 +576,7 @@ onion_skin_create(crypto_pk_env_t *dest_router_key, if (crypto_rand(16, pubkey)) goto err; /* XXXX You can't just run around RSA-encrypting any bitstream: if it's /* You can't just run around RSA-encrypting any bitstream: if it's * greater than the RSA key, then OpenSSL will happily encrypt, * and later decrypt to the wrong value. So we set the first bit * of 'pubkey' to 0. This means that our symmetric key is really only Loading