[BACK]Return to auth-options.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/auth-options.c between version 1.62 and 1.63

version 1.62, 2013/12/19 00:27:57 version 1.63, 2014/06/24 01:13:21
Line 584 
Line 584 
   
         if (key_cert_is_legacy(k)) {          if (key_cert_is_legacy(k)) {
                 /* All options are in the one field for v00 certs */                  /* All options are in the one field for v00 certs */
                 if (parse_option_list(buffer_ptr(&k->cert->critical),                  if (parse_option_list(buffer_ptr(k->cert->critical),
                     buffer_len(&k->cert->critical), pw,                      buffer_len(k->cert->critical), pw,
                     OPTIONS_CRITICAL|OPTIONS_EXTENSIONS, 1,                      OPTIONS_CRITICAL|OPTIONS_EXTENSIONS, 1,
                     &cert_no_port_forwarding_flag,                      &cert_no_port_forwarding_flag,
                     &cert_no_agent_forwarding_flag,                      &cert_no_agent_forwarding_flag,
Line 597 
Line 597 
                         return -1;                          return -1;
         } else {          } else {
                 /* Separate options and extensions for v01 certs */                  /* Separate options and extensions for v01 certs */
                 if (parse_option_list(buffer_ptr(&k->cert->critical),                  if (parse_option_list(buffer_ptr(k->cert->critical),
                     buffer_len(&k->cert->critical), pw,                      buffer_len(k->cert->critical), pw,
                     OPTIONS_CRITICAL, 1, NULL, NULL, NULL, NULL, NULL,                      OPTIONS_CRITICAL, 1, NULL, NULL, NULL, NULL, NULL,
                     &cert_forced_command,                      &cert_forced_command,
                     &cert_source_address_done) == -1)                      &cert_source_address_done) == -1)
                         return -1;                          return -1;
                 if (parse_option_list(buffer_ptr(&k->cert->extensions),                  if (parse_option_list(buffer_ptr(k->cert->extensions),
                     buffer_len(&k->cert->extensions), pw,                      buffer_len(k->cert->extensions), pw,
                     OPTIONS_EXTENSIONS, 1,                      OPTIONS_EXTENSIONS, 1,
                     &cert_no_port_forwarding_flag,                      &cert_no_port_forwarding_flag,
                     &cert_no_agent_forwarding_flag,                      &cert_no_agent_forwarding_flag,

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63