search for: evp_cipher_ctx_get_app_data

Displaying 5 results from an estimated 5 matches for "evp_cipher_ctx_get_app_data".

2010 Apr 14
7
[Bug 1756] New: 5.4p1 fails to build on SuSE 10 64bit with openssl/1.0.0 due to missing -L flag
...P_Cipher' ./libssh.a(cipher.o): In function `cipher_get_keyiv_len': /local/scratch/openssh-5.4p1/cipher.c:329: undefined reference to `EVP_CIPHER_CTX_iv_length' ./libssh.a(cipher-ctr.o): In function `ssh_aes_ctr': /local/scratch/openssh-5.4p1/cipher-ctr.c:70: undefined reference to `EVP_CIPHER_CTX_get_app_data' ./libssh.a(cipher-ctr.o): In function `ssh_aes_ctr_cleanup': /local/scratch/openssh-5.4p1/cipher-ctr.c:107: undefined reference to `EVP_CIPHER_CTX_get_app_data' /local/scratch/openssh-5.4p1/cipher-ctr.c:110: undefined reference to `EVP_CIPHER_CTX_set_app_data' ./libssh.a(cipher-ctr...
2003 Dec 22
1
?? memory leak in 3des1
...ficial 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)); xfree(c); EVP_...
2013 Jan 18
0
Inconsisten declaration of ssh_aes_ctr_iv() (fwd)
...==================== RCS file: /var/cvs/openssh/openbsd-compat/openssl-compat.h,v retrieving revision 1.21 diff -u -p -r1.21 openssl-compat.h --- openbsd-compat/openssl-compat.h 9 Jan 2013 05:42:49 -0000 1.21 +++ openbsd-compat/openssl-compat.h 17 Jan 2013 23:13:34 -0000 @@ -40,7 +40,7 @@ # define EVP_CIPHER_CTX_get_app_data(e) ((e)->app_data) #endif -#if OPENSSL_VERSION_NUMBER < 0x1000000fL +#if OPENSSL_VERSION_NUMBER < 0x10000001L # define LIBCRYPTO_EVP_INL_TYPE unsigned int #else # define LIBCRYPTO_EVP_INL_TYPE size_t > I applied the diff you supplied, along with the previous diff. The > regre...
2005 Nov 20
0
[PATCH] Solaris 10 and missing OpenSSL functions >128bit
...: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/openssl-compat.h,v retrieving revision 1.1 diff -u -p -r1.1 openssl-compat.h --- openbsd-compat/openssl-compat.h 9 Jun 2005 11:45:11 -0000 1.1 +++ openbsd-compat/openssl-compat.h 20 Nov 2005 02:30:01 -0000 @@ -24,7 +24,11 @@ # define EVP_CIPHER_CTX_get_app_data(e) ((e)->app_data) #endif -#if OPENSSL_VERSION_NUMBER < 0x00907000L +#if (OPENSSL_VERSION_NUMBER < 0x00907000L) || defined(OPENSSL_LOBOTOMISED_AES) +# define USE_BUILTIN_RIJNDAEL +#endif + +#ifdef USE_BUILTIN_RIJNDAEL # define EVP_aes_128_cbc evp_rijndael # define EVP_aes_192_cbc evp...
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\"