Commit ec3f37c9 authored by Davide Galassi's avatar Davide Galassi

RSA not initialized digit value

parent 1180ed08
......@@ -199,7 +199,7 @@ int cry_rsa_keygen(cry_rsa_ctx *ctx, unsigned int bits)
int res;
cry_mpi phi, p, q, p1, q1, one;
cry_mpi_digit one_dig;
cry_mpi_digit one_dig = 1;
int hbits = bits >> 1;
unsigned int i;
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