[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.100 and 1.101

version 1.100, 2017/02/03 23:01:19 version 1.101, 2017/04/30 23:10:43
Line 231 
Line 231 
         for ((p = strsep(&q, SEP)); p && *p != '\0'; (p = strsep(&q, SEP))) {          for ((p = strsep(&q, SEP)); p && *p != '\0'; (p = strsep(&q, SEP))) {
                 switch (atoi(p)) {                  switch (atoi(p)) {
                 case 1:                  case 1:
 #ifdef WITH_SSH1  
                         if (ret == SSH_PROTO_UNKNOWN)  
                                 ret |= SSH_PROTO_1_PREFERRED;  
                         ret |= SSH_PROTO_1;  
 #endif  
                         break;                          break;
                 case 2:                  case 2:
                         ret |= SSH_PROTO_2;                          ret |= SSH_PROTO_2;

Legend:
Removed from v.1.100  
changed lines
  Added in v.1.101