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

Diff for /src/usr.bin/ssh/monitor.c between version 1.61 and 1.61.2.2

version 1.61, 2004/07/17 05:31:41 version 1.61.2.2, 2005/06/05 02:22:39
Line 772 
Line 772 
         debug3("%s: key_from_blob: %p", __func__, key);          debug3("%s: key_from_blob: %p", __func__, key);
   
         if (key != NULL && authctxt->valid) {          if (key != NULL && authctxt->valid) {
                 switch(type) {                  switch (type) {
                 case MM_USERKEY:                  case MM_USERKEY:
                         allowed = options.pubkey_authentication &&                          allowed = options.pubkey_authentication &&
                             user_key_allowed(authctxt->pw, key);                              user_key_allowed(authctxt->pw, key);
Line 1118 
Line 1118 
         int rsafail;          int rsafail;
   
         /* Turn off permissions */          /* Turn off permissions */
         monitor_permit(mon_dispatch, MONITOR_REQ_SESSKEY, 1);          monitor_permit(mon_dispatch, MONITOR_REQ_SESSKEY, 0);
   
         if ((p = BN_new()) == NULL)          if ((p = BN_new()) == NULL)
                 fatal("%s: BN_new", __func__);                  fatal("%s: BN_new", __func__);

Legend:
Removed from v.1.61  
changed lines
  Added in v.1.61.2.2