summaryrefslogtreecommitdiffstats
path: root/demos/bio/client-conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/bio/client-conf.c')
-rw-r--r--demos/bio/client-conf.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/bio/client-conf.c b/demos/bio/client-conf.c
index 6cef222fa3..191615a9ac 100644
--- a/demos/bio/client-conf.c
+++ b/demos/bio/client-conf.c
@@ -68,6 +68,13 @@ int main(int argc, char **argv)
goto end;
}
}
+
+ if (!SSL_CONF_CTX_finish(cctx))
+ {
+ fprintf(stderr, "Finish error\n");
+ ERR_print_errors_fp(stderr);
+ goto err;
+ }
/* We'd normally set some stuff like the verify paths and
* mode here because as things stand this will connect to