Fixup BIO demos for OpenSSL 1.1.x
[openssl.git] / demos / bio / server-conf.c
index 32abefdf1d2c68149218e8434e4d3fcc5ec5402f..84d39f5f70952b974b55e59d781b378f66163199 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <signal.h>
 #include <openssl/err.h>
 #include <openssl/ssl.h>
@@ -33,10 +34,6 @@ int main(int argc, char *argv[])
     char buf[512];
     int ret = 1, i;
 
-    SSL_load_error_strings();
-
-    /* Add ciphers and message digests */
-    OpenSSL_add_ssl_algorithms();
 
     conf = NCONF_new(NULL);