[BACK]Return to ocsp.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / openssl

Diff for /src/usr.bin/openssl/ocsp.c between version 1.17 and 1.18

version 1.17, 2020/09/09 13:04:23 version 1.18, 2020/09/09 13:08:38
Line 1479 
Line 1479 
                 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;

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18