Fixup BIO demos for OpenSSL 1.1.x
authorRichard Levitte <levitte@openssl.org>
Fri, 9 Sep 2016 07:32:00 +0000 (09:32 +0200)
committerRichard Levitte <richard@levitte.org>
Tue, 20 Sep 2016 16:25:12 +0000 (18:25 +0200)
commitb90348c7c57f2a6ba129fd2cb9a5889401fe3f91
tree3c43e557ca5c7979660d83ca38b803e36a835450
parentd57569388379c72271a0703e68a5eaffa7ffebca
Fixup BIO demos for OpenSSL 1.1.x

Call SSL_CTX_new() before doing any configuration.
(or call OPENSSL_ssl_init())

Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 54d72ef0f019db383f8e98342b9b77c5da8541e5)
demos/bio/server-cmod.c
demos/bio/server-conf.c