search for: ssh1_3des_ctx

Displaying 1 result from an estimated 1 matches for "ssh1_3des_ctx".

Did you mean: ssh1_3des_cbc
2003 Dec 22
1
?? memory leak in 3des1
....7. It does not appear to me (superficial scan) that there is any harm in calling the _cleanup routine with earlier openssl. fwiw :laird --- openssh-3.7.1p2/cipher-3des1.c Tue Sep 23 05:24:21 2003 +++ src37m/cipher-3des1.c Mon Dec 15 08:26:30 2003 @@ -126,6 +126,11 @@ struct ssh1_3des_ctx *c; if ((c = EVP_CIPHER_CTX_get_app_data(ctx)) != NULL) { +#ifndef SSH_OLD_EVP + EVP_CIPHER_CTX_cleanup(&c->k1); + EVP_CIPHER_CTX_cleanup(&c->k2); + EVP_CIPHER_CTX_cleanup(&c->k3); +#endif memset(c, 0, sizeof(*c...