Displaying 3 results from an estimated 3 matches for "evp_cipher_ctx_cleanup".
2003 Dec 22
1
?? memory leak in 3des1
...penssl.
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));
xfree(c);
EVP_CIPHER_CTX_set_app_data(ctx, NULL);
OK, my reading of the code may be fa...
2002 Mar 08
1
Problems with Solaris 8 and OpenSSH 3.1p1
When compiling the software it breaks with an error on the cipher.c file.
Lot's of warnings and error of undeclared stuff.
Snippet follows:
gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.
-I/usr/local/ssl/include -Iyes -I/usr/local/include -DSSHDIR=\"/etc\"
-D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\"
2005 Aug 09
2
error compiling asterisk on solaris
...erence to `BIO_new'
/usr/local/ssl/lib/libssl.so: undefined reference to `d2i_X509_bio'
/usr/local/ssl/lib/libssl.so: undefined reference to `X509_check_private_key'
/usr/local/ssl/lib/libssl.so: undefined reference to `MD5_Init'
/usr/local/ssl/lib/libssl.so: undefined reference to `EVP_CIPHER_CTX_cleanup'
/usr/local/ssl/lib/libssl.so: undefined reference to `X509_PURPOSE_get_by_id'
/usr/local/ssl/lib/libssl.so: undefined reference to `sk_value'
/usr/local/ssl/lib/libssl.so: undefined reference to `CRYPTO_new_ex_data'
/usr/local/ssl/lib/libssl.so: undefined reference to `BIO_pop'...