[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.133 and 1.134

version 1.133, 2020/09/06 09:00:37 version 1.134, 2020/09/06 09:03:13
Line 221 
Line 221 
 process_ssl_options(char *cp)  process_ssl_options(char *cp)
 {  {
         const char *errstr;          const char *errstr;
         long long depth;  
         char *str;          char *str;
           int depth;
         uint32_t protocols;          uint32_t protocols;
   
         while (*cp) {          while (*cp) {
Line 262 
Line 262 
                         if (errstr)                          if (errstr)
                                 errx(1, "certificate validation depth is %s",                                  errx(1, "certificate validation depth is %s",
                                     errstr);                                      errstr);
                         tls_config_set_verify_depth(tls_config, (int)depth);                          tls_config_set_verify_depth(tls_config, depth);
                         break;                          break;
                 case SSL_MUSTSTAPLE:                  case SSL_MUSTSTAPLE:
                         tls_config_ocsp_require_stapling(tls_config);                          tls_config_ocsp_require_stapling(tls_config);

Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134