version 1.88, 2013/04/19 01:06:50 |
version 1.89, 2013/05/17 00:13:13 |
|
|
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; |
} |
} |
|
|
|
|
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); |
} |
} |
} |
} |
|
|