projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfi build fixes in x86-64 ghash assembly
[oweals/openssl.git]
/
apps
/
rsa.c
diff --git
a/apps/rsa.c
b/apps/rsa.c
index 5098a20dbc7216723b770759de4b499cde89904e..fdd02dce32419a764ac7e7b7fc9eaa4fd4b80409 100644
(file)
--- a/
apps/rsa.c
+++ b/
apps/rsa.c
@@
-269,6
+269,9
@@
int rsa_main(int argc, char **argv)
} else if (outformat == FORMAT_MSBLOB || outformat == FORMAT_PVK) {
EVP_PKEY *pk;
pk = EVP_PKEY_new();
+ if (pk == NULL)
+ goto end;
+
EVP_PKEY_set1_RSA(pk, rsa);
if (outformat == FORMAT_PVK) {
if (pubin) {