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

Diff for /src/usr.bin/ssh/kex.c between version 1.155 and 1.156

version 1.155, 2019/10/08 22:40:39 version 1.156, 2020/01/23 10:24:29
Line 783 
Line 783 
   
         if (name == NULL)          if (name == NULL)
                 return SSH_ERR_NO_COMPRESS_ALG_MATCH;                  return SSH_ERR_NO_COMPRESS_ALG_MATCH;
   #ifdef WITH_ZLIB
         if (strcmp(name, "zlib@openssh.com") == 0) {          if (strcmp(name, "zlib@openssh.com") == 0) {
                 comp->type = COMP_DELAYED;                  comp->type = COMP_DELAYED;
         } else if (strcmp(name, "zlib") == 0) {          } else if (strcmp(name, "zlib") == 0) {
                 comp->type = COMP_ZLIB;                  comp->type = COMP_ZLIB;
         } else if (strcmp(name, "none") == 0) {          } else
   #endif  /* WITH_ZLIB */
           if (strcmp(name, "none") == 0) {
                 comp->type = COMP_NONE;                  comp->type = COMP_NONE;
         } else {          } else {
                 error("%s: unsupported compression scheme %s", __func__, name);                  error("%s: unsupported compression scheme %s", __func__, name);

Legend:
Removed from v.1.155  
changed lines
  Added in v.1.156