Strange how one line can make a world of difference, particularly when
the one line turns an error return value into a success return value. :-) "openssl speed -engine hwcrhk rsa1024" now passes through ok.
This commit is contained in:
parent
13232559fc
commit
665b5ab5a7
@ -615,6 +615,8 @@ static int hwcrhk_rsa_mod_exp(BIGNUM *r, BIGNUM *I, RSA *rsa)
|
||||
goto err;
|
||||
}
|
||||
}
|
||||
/* If we're here, we must be here with some semblance of success :-) */
|
||||
to_return = 1;
|
||||
err:
|
||||
return to_return;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user