diff options
Diffstat (limited to 'apps/pkcs12.c')
-rw-r--r-- | apps/pkcs12.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/pkcs12.c b/apps/pkcs12.c index 0a88140880..8c515870de 100644 --- a/apps/pkcs12.c +++ b/apps/pkcs12.c @@ -345,7 +345,9 @@ int pkcs12_main(int argc, char **argv) if (argc != 0) goto opthelp; - app_RAND_load(); + if (!app_RAND_load()) + goto end; + if (ciphername != NULL) { if (!opt_cipher(ciphername, &enc)) goto opthelp; |