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

Diff for /src/usr.bin/ssh/sshd.c between version 1.80 and 1.81

version 1.80, 2000/01/20 15:19:22 version 1.81, 2000/01/24 20:31:19
Line 230 
Line 230 
 char *  char *
 get_authname(int type)  get_authname(int type)
 {  {
           static char buf[1024];
         switch (type) {          switch (type) {
         case SSH_CMSG_AUTH_PASSWORD:          case SSH_CMSG_AUTH_PASSWORD:
                 return "password";                  return "password";
Line 248 
Line 249 
                 return "s/key";                  return "s/key";
 #endif  #endif
         }          }
         fatal("get_authname: unknown auth %d: internal error", type);          snprintf(buf, sizeof buf, "bad-auth-msg-%d", type);
         return NULL;          return buf;
 }  }
   
 /*  /*

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81