Fix build warning with possible use of unitialized `ret`.

pull/1154/head
David Garske 2017-09-15 09:15:50 -07:00
parent 0b11b265f6
commit 3f16fba4f8
1 changed files with 1 additions and 1 deletions

View File

@ -2549,7 +2549,7 @@ void bench_rsaKeyGen(int doAsync)
{ {
RsaKey genKey[BENCH_MAX_PENDING]; RsaKey genKey[BENCH_MAX_PENDING];
double start; double start;
int ret, i, count = 0, times, pending = 0; int ret = 0, i, count = 0, times, pending = 0;
int k, keySz; int k, keySz;
const int keySizes[2] = {1024, 2048}; const int keySizes[2] = {1024, 2048};
const long rsa_e_val = 65537; const long rsa_e_val = 65537;