diff --git a/crypto/engine/hw_ncipher.c b/crypto/engine/hw_ncipher.c index a618de604..bab20d1e2 100644 --- a/crypto/engine/hw_ncipher.c +++ b/crypto/engine/hw_ncipher.c @@ -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; }