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

Diff for /src/usr.bin/ssh/sshconnect.h between version 1.13.4.1 and 1.14

version 1.13.4.1, 2002/06/26 15:30:39 version 1.14, 2002/05/23 19:24:30
Line 28 
Line 28 
   
 typedef struct Sensitive Sensitive;  typedef struct Sensitive Sensitive;
 struct Sensitive {  struct Sensitive {
         Key     **keys;          Key     **keys;
         int     nkeys;          int     nkeys;
         int     external_keysign;          int     external_keysign;
 };  };
   
 int  int
 ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,  ssh_connect(const char *, struct sockaddr_storage *, u_short, int, int,
     int, const char *);      int, struct passwd *, const char *);
   
 void  void
 ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *);  ssh_login(Sensitive *, const char *, struct sockaddr *, struct passwd *);
Line 49 
Line 49 
 void     ssh_userauth2(const char *, const char *, char *, Sensitive *);  void     ssh_userauth2(const char *, const char *, char *, Sensitive *);
   
 void     ssh_put_password(char *);  void     ssh_put_password(char *);
   
   
 /*  
  * Macros to raise/lower permissions.  
  */  
 #define PRIV_START do {                         \  
         int save_errno = errno;                 \  
         (void)seteuid(original_effective_uid);  \  
         errno = save_errno;                     \  
 } while (0)  
   
 #define PRIV_END do {                           \  
         int save_errno = errno;                 \  
         (void)seteuid(original_real_uid);       \  
         errno = save_errno;                     \  
 } while (0)  
   
 #endif  #endif

Legend:
Removed from v.1.13.4.1  
changed lines
  Added in v.1.14