Return to ocsp.c CVS log | Up to [local] / src / usr.bin / openssl |
version 1.17, 2020/09/09 13:04:23 | version 1.18, 2020/09/09 13:08:38 | ||
---|---|---|---|
|
|
||
BIO_set_conn_port(cbio, port); | BIO_set_conn_port(cbio, port); | ||
if (use_ssl == 1) { | if (use_ssl == 1) { | ||
BIO *sbio; | BIO *sbio; | ||
ctx = SSL_CTX_new(SSLv23_client_method()); | ctx = SSL_CTX_new(TLS_client_method()); | ||
if (ctx == NULL) { | if (ctx == NULL) { | ||
BIO_printf(err, "Error creating SSL context.\n"); | BIO_printf(err, "Error creating SSL context.\n"); | ||
goto end; | goto end; |