summaryrefslogtreecommitdiffstats
path: root/apps/lib/s_cb.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/lib/s_cb.c')
-rw-r--r--apps/lib/s_cb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/lib/s_cb.c b/apps/lib/s_cb.c
index 6824567c70..0bb4b6c436 100644
--- a/apps/lib/s_cb.c
+++ b/apps/lib/s_cb.c
@@ -1019,7 +1019,8 @@ int load_excert(SSL_EXCERT **pexc)
BIO_printf(bio_err, "Missing filename\n");
return 0;
}
- exc->cert = load_cert(exc->certfile, "Server Certificate");
+ exc->cert = load_cert(exc->certfile, exc->certform,
+ "Server Certificate");
if (exc->cert == NULL)
return 0;
if (exc->keyfile != NULL) {