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

Diff for /src/usr.bin/ftp/main.c between version 1.111 and 1.112

version 1.111, 2016/11/06 13:16:50 version 1.112, 2016/11/30 07:55:24
Line 251 
Line 251 
                 tls_config = tls_config_new();                  tls_config = tls_config_new();
                 if (tls_config == NULL)                  if (tls_config == NULL)
                         errx(1, "tls config failed");                          errx(1, "tls config failed");
                 tls_config_set_protocols(tls_config, TLS_PROTOCOLS_ALL);                  if (tls_config_set_protocols(tls_config,
                       TLS_PROTOCOLS_ALL) != 0)
                           errx(1, "tls set protocols failed: %s",
                               tls_config_error(tls_config));
                 if (tls_config_set_ciphers(tls_config, "legacy") != 0)                  if (tls_config_set_ciphers(tls_config, "legacy") != 0)
                         errx(1, "tls set ciphers failed: %s",                          errx(1, "tls set ciphers failed: %s",
                             tls_config_error(tls_config));                              tls_config_error(tls_config));

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112