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

Diff for /src/usr.bin/ssh/monitor_wrap.c between version 1.21 and 1.22

version 1.21, 2003/02/04 09:33:22 version 1.22, 2003/02/16 17:30:33
Line 34 
Line 34 
 #include "dh.h"  #include "dh.h"
 #include "kex.h"  #include "kex.h"
 #include "auth.h"  #include "auth.h"
   #include "auth-options.h"
 #include "buffer.h"  #include "buffer.h"
 #include "bufaux.h"  #include "bufaux.h"
 #include "packet.h"  #include "packet.h"
Line 310 
Line 311 
         Buffer m;          Buffer m;
         u_char *blob;          u_char *blob;
         u_int len;          u_int len;
         int allowed = 0;          int allowed = 0, have_forced = 0;
   
         debug3("%s entering", __func__);          debug3("%s entering", __func__);
   
Line 332 
Line 333 
   
         allowed = buffer_get_int(&m);          allowed = buffer_get_int(&m);
   
           /* fake forced command */
           auth_clear_options();
           have_forced = buffer_get_int(&m);
           forced_command = have_forced ? xstrdup("true") : NULL;
   
         /* Send potential debug messages */          /* Send potential debug messages */
         mm_send_debug(&m);          mm_send_debug(&m);
   
Line 834 
Line 840 
         Key *key;          Key *key;
         u_char *blob;          u_char *blob;
         u_int blen;          u_int blen;
         int allowed = 0;          int allowed = 0, have_forced = 0;
   
         debug3("%s entering", __func__);          debug3("%s entering", __func__);
   
Line 845 
Line 851 
         mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_RSAKEYALLOWED, &m);          mm_request_receive_expect(pmonitor->m_recvfd, MONITOR_ANS_RSAKEYALLOWED, &m);
   
         allowed = buffer_get_int(&m);          allowed = buffer_get_int(&m);
   
           /* fake forced command */
           auth_clear_options();
           have_forced = buffer_get_int(&m);
           forced_command = have_forced ? xstrdup("true") : NULL;
   
         if (allowed && rkey != NULL) {          if (allowed && rkey != NULL) {
                 blob = buffer_get_string(&m, &blen);                  blob = buffer_get_string(&m, &blen);

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22