There's a name clash between OpenSSL and RSAref. Since this engine handles
[openssl.git] / demos / bio / saccept.c
index 920eab397ca3110508899951505bda841f337069..933d6699ee344940c68cdbc6fa6cc39dc14efac4 100644 (file)
@@ -12,8 +12,8 @@
 
 #include <stdio.h>
 #include <signal.h>
-#include "err.h"
-#include "ssl.h"
+#include <openssl/err.h>
+#include <openssl/ssl.h>
 
 #define CERT_FILE      "server.pem"
 
@@ -46,7 +46,7 @@ char *argv[];
        SSL_load_error_strings();
 
        /* Add ciphers and message digests */
-       SSLeay_add_ssl_algorithms();
+       OpenSSL_add_ssl_algorithms();
 
        ctx=SSL_CTX_new(SSLv23_server_method());
        if (!SSL_CTX_use_certificate_file(ctx,CERT_FILE,SSL_FILETYPE_PEM))