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

Diff for /src/usr.bin/ssh/compat.c between version 1.125 and 1.126

version 1.125, 2023/02/17 04:22:50 version 1.126, 2023/03/06 12:14:48
Line 34 
Line 34 
 #include "compat.h"  #include "compat.h"
 #include "log.h"  #include "log.h"
 #include "match.h"  #include "match.h"
 #include "kex.h"  
   
 /* determine bug flags from SSH protocol banner */  /* determine bug flags from SSH protocol banner */
 void  void
Line 138 
Line 137 
   
 /* Always returns pointer to allocated memory, caller must free. */  /* Always returns pointer to allocated memory, caller must free. */
 char *  char *
 compat_cipher_proposal(struct ssh *ssh, char *cipher_prop)  compat_kex_proposal(struct ssh *ssh, const char *p)
 {  
         return xstrdup(cipher_prop);  
 }  
   
 /* Always returns pointer to allocated memory, caller must free. */  
 char *  
 compat_pkalg_proposal(struct ssh *ssh, char *pkalg_prop)  
 {  
         return xstrdup(pkalg_prop);  
 }  
   
 /* Always returns pointer to allocated memory, caller must free. */  
 char *  
 compat_kex_proposal(struct ssh *ssh, char *p)  
 {  {
         char *cp = NULL, *cp2 = NULL;          char *cp = NULL, *cp2 = NULL;
   

Legend:
Removed from v.1.125  
changed lines
  Added in v.1.126