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

Diff for /src/usr.bin/ssh/cipher.c between version 1.88 and 1.89

version 1.88, 2013/04/19 01:06:50 version 1.89, 2013/05/17 00:13:13
Line 199 
Line 199 
                 c = cipher_by_name(p);                  c = cipher_by_name(p);
                 if (c == NULL || c->number != SSH_CIPHER_SSH2) {                  if (c == NULL || c->number != SSH_CIPHER_SSH2) {
                         debug("bad cipher %s [%s]", p, names);                          debug("bad cipher %s [%s]", p, names);
                         xfree(cipher_list);                          free(cipher_list);
                         return 0;                          return 0;
                 } else {                  } else {
                         debug3("cipher ok: %s [%s]", p, names);                          debug3("cipher ok: %s [%s]", p, names);
                 }                  }
         }          }
         debug3("ciphers ok: [%s]", names);          debug3("ciphers ok: [%s]", names);
         xfree(cipher_list);          free(cipher_list);
         return 1;          return 1;
 }  }
   
Line 294 
Line 294 
                     cipher->discard_len) == 0)                      cipher->discard_len) == 0)
                         fatal("evp_crypt: EVP_Cipher failed during discard");                          fatal("evp_crypt: EVP_Cipher failed during discard");
                 memset(discard, 0, cipher->discard_len);                  memset(discard, 0, cipher->discard_len);
                 xfree(junk);                  free(junk);
                 xfree(discard);                  free(discard);
         }          }
 }  }
   

Legend:
Removed from v.1.88  
changed lines
  Added in v.1.89