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

Diff for /src/usr.bin/ssh/readconf.c between version 1.363 and 1.364

version 1.363, 2021/09/16 05:36:03 version 1.364, 2021/12/19 22:14:47
Line 876 
Line 876 
         { "always",                     SSH_CANONICALISE_ALWAYS },          { "always",                     SSH_CANONICALISE_ALWAYS },
         { NULL, -1 }          { NULL, -1 }
 };  };
   static const struct multistate multistate_pubkey_auth[] = {
           { "true",                       SSH_PUBKEY_AUTH_ALL },
           { "false",                      SSH_PUBKEY_AUTH_NO },
           { "yes",                        SSH_PUBKEY_AUTH_ALL },
           { "no",                         SSH_PUBKEY_AUTH_NO },
           { "unbound",                    SSH_PUBKEY_AUTH_UNBOUND },
           { "host-bound",                 SSH_PUBKEY_AUTH_HBOUND },
           { NULL, -1 }
   };
 static const struct multistate multistate_compression[] = {  static const struct multistate multistate_compression[] = {
 #ifdef WITH_ZLIB  #ifdef WITH_ZLIB
         { "yes",                        COMP_ZLIB },          { "yes",                        COMP_ZLIB },
Line 1088 
Line 1097 
                 goto parse_string;                  goto parse_string;
   
         case oPubkeyAuthentication:          case oPubkeyAuthentication:
                   multistate_ptr = multistate_pubkey_auth;
                 intptr = &options->pubkey_authentication;                  intptr = &options->pubkey_authentication;
                 goto parse_flag;                  goto parse_multistate;
   
         case oHostbasedAuthentication:          case oHostbasedAuthentication:
                 intptr = &options->hostbased_authentication;                  intptr = &options->hostbased_authentication;
Line 2473 
Line 2483 
         if (options->fwd_opts.streamlocal_bind_unlink == -1)          if (options->fwd_opts.streamlocal_bind_unlink == -1)
                 options->fwd_opts.streamlocal_bind_unlink = 0;                  options->fwd_opts.streamlocal_bind_unlink = 0;
         if (options->pubkey_authentication == -1)          if (options->pubkey_authentication == -1)
                 options->pubkey_authentication = 1;                  options->pubkey_authentication = SSH_PUBKEY_AUTH_ALL;
         if (options->gss_authentication == -1)          if (options->gss_authentication == -1)
                 options->gss_authentication = 0;                  options->gss_authentication = 0;
         if (options->gss_deleg_creds == -1)          if (options->gss_deleg_creds == -1)
Line 3116 
Line 3126 
                 return fmt_multistate_int(val, multistate_canonicalizehostname);                  return fmt_multistate_int(val, multistate_canonicalizehostname);
         case oAddKeysToAgent:          case oAddKeysToAgent:
                 return fmt_multistate_int(val, multistate_yesnoaskconfirm);                  return fmt_multistate_int(val, multistate_yesnoaskconfirm);
           case oPubkeyAuthentication:
                   return fmt_multistate_int(val, multistate_pubkey_auth);
         case oFingerprintHash:          case oFingerprintHash:
                 return ssh_digest_alg_name(val);                  return ssh_digest_alg_name(val);
         default:          default:

Legend:
Removed from v.1.363  
changed lines
  Added in v.1.364