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

Diff for /src/usr.bin/nc/netcat.c between version 1.170 and 1.171

version 1.170, 2016/11/06 13:33:30 version 1.171, 2016/11/30 07:56:23
Line 464 
Line 464 
                 if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1)                  if (oflag && tls_config_set_ocsp_staple_file(tls_cfg, oflag) == -1)
                         errx(1, "%s", tls_config_error(tls_cfg));                          errx(1, "%s", tls_config_error(tls_cfg));
                 if (TLSopt & TLS_ALL) {                  if (TLSopt & TLS_ALL) {
                         tls_config_set_protocols(tls_cfg, TLS_PROTOCOLS_ALL);                          if (tls_config_set_protocols(tls_cfg,
                         tls_config_set_ciphers(tls_cfg, "all");                              TLS_PROTOCOLS_ALL) != 0)
                                   errx(1, "%s", tls_config_error(tls_cfg));
                           if (tls_config_set_ciphers(tls_cfg, "all") != 0)
                                   errx(1, "%s", tls_config_error(tls_cfg));
                 }                  }
                 if (!lflag && (TLSopt & TLS_CCERT))                  if (!lflag && (TLSopt & TLS_CCERT))
                         errx(1, "clientcert is only valid with -l");                          errx(1, "clientcert is only valid with -l");

Legend:
Removed from v.1.170  
changed lines
  Added in v.1.171