summaryrefslogtreecommitdiffstats
path: root/crypto/rsa/rsa_lib.c
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-09-05 12:08:12 +0300
committerNicola Tuveri <nic.tuv@gmail.com>2018-09-05 15:26:46 +0300
commita842be9cf7bdf3cb3abbfe152d811cbc57dded27 (patch)
treee02d8e0bcae65d471fa383082805eeba038f7098 /crypto/rsa/rsa_lib.c
parentc28a2ffd01dc1da932aa55d518b57a933cdc51be (diff)
Harmonize the error handling codepath
Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Tim Hudson <tjh@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/7121)
Diffstat (limited to 'crypto/rsa/rsa_lib.c')
-rw-r--r--crypto/rsa/rsa_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rsa/rsa_lib.c b/crypto/rsa/rsa_lib.c
index 97552fa335..40dee36836 100644
--- a/crypto/rsa/rsa_lib.c
+++ b/crypto/rsa/rsa_lib.c
@@ -94,7 +94,7 @@ RSA *RSA_new_method(ENGINE *engine)
return ret;
-err:
+ err:
RSA_free(ret);
return NULL;
}