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

Diff for /src/usr.bin/ssh/sshconnect2.c between version 1.53 and 1.54

version 1.53, 2001/03/10 17:51:04 version 1.54, 2001/03/12 22:02:02
Line 660 
Line 660 
         Key *key = NULL;          Key *key = NULL;
         Buffer b;          Buffer b;
         int alen, blen, pktype, sent = 0;          int alen, blen, pktype, sent = 0;
         char *pkalg, *pkblob;          char *pkalg, *pkblob, *fp;
   
         if (authctxt == NULL)          if (authctxt == NULL)
                 fatal("input_userauth_pk_ok: no authentication context");                  fatal("input_userauth_pk_ok: no authentication context");
Line 687 
Line 687 
                         debug("no last key or no sign cb");                          debug("no last key or no sign cb");
                         break;                          break;
                 }                  }
                 debug2("last_key %s", key_fingerprint(authctxt->last_key));  
                 if ((pktype = key_type_from_name(pkalg)) == KEY_UNSPEC) {                  if ((pktype = key_type_from_name(pkalg)) == KEY_UNSPEC) {
                         debug("unknown pkalg %s", pkalg);                          debug("unknown pkalg %s", pkalg);
                         break;                          break;
Line 696 
Line 695 
                         debug("no key from blob. pkalg %s", pkalg);                          debug("no key from blob. pkalg %s", pkalg);
                         break;                          break;
                 }                  }
                 debug2("input_userauth_pk_ok: fp %s", key_fingerprint(key));                  fp = key_fingerprint(key, SSH_FP_MD5, SSH_FP_HEX);
                   debug2("input_userauth_pk_ok: fp %s", fp);
                   xfree(fp);
                 if (!key_equal(key, authctxt->last_key)) {                  if (!key_equal(key, authctxt->last_key)) {
                         debug("key != last_key");                          debug("key != last_key");
                         break;                          break;

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54