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

Diff for /src/usr.bin/ssh/auth2-gss.c between version 1.28 and 1.29

version 1.28, 2018/07/10 09:13:30 version 1.29, 2018/07/31 03:10:27
Line 65 
Line 65 
         size_t len;          size_t len;
         u_char *doid = NULL;          u_char *doid = NULL;
   
         if (!authctxt->valid || authctxt->user == NULL)  
                 return (0);  
   
         if ((r = sshpkt_get_u32(ssh, &mechs)) != 0)          if ((r = sshpkt_get_u32(ssh, &mechs)) != 0)
                 fatal("%s: %s", __func__, ssh_err(r));                  fatal("%s: %s", __func__, ssh_err(r));
   
Line 98 
Line 95 
         if (!present) {          if (!present) {
                 free(doid);                  free(doid);
                 authctxt->server_caused_failure = 1;                  authctxt->server_caused_failure = 1;
                   return (0);
           }
   
           if (!authctxt->valid || authctxt->user == NULL) {
                   debug2("%s: disabled because of invalid user", __func__);
                   free(doid);
                 return (0);                  return (0);
         }          }
   

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29