summaryrefslogtreecommitdiff
path: root/crypto/openssl/apps/ts.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/apps/ts.c')
-rw-r--r--crypto/openssl/apps/ts.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/openssl/apps/ts.c b/crypto/openssl/apps/ts.c
index 930c1daaab6d..44a8f75d4a37 100644
--- a/crypto/openssl/apps/ts.c
+++ b/crypto/openssl/apps/ts.c
@@ -282,7 +282,8 @@ int ts_main(int argc, char **argv)
goto end;
}
- conf = load_config_file(configfile);
+ if ((conf = load_config_file(configfile)) == NULL)
+ goto end;
if (configfile != default_config_file && !app_load_modules(conf))
goto end;