Commit 665b5ab5 authored by Geoff Thorpe's avatar Geoff Thorpe
Browse files

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.
parent 13232559
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
	}