Obsoleted by new openssl command "list-cipher-commands".
[openssl.git] / demos / bio / sconnect.c
index 8a667f5911781ea5ee3ef796f10f050cd0869327..68296da806be92fe7325e0cf1dacee6ec30d2476 100644 (file)
@@ -48,7 +48,7 @@ char *argv[];
 
        /* Lets use a connect BIO under the SSL BIO */
        out=BIO_new(BIO_s_connect());
-       BIO_set_hostname(out,host);
+       BIO_set_conn_hostname(out,host);
        BIO_set_nbio(out,1);
        out=BIO_push(ssl_bio,out);