From f731320f360c427ef1d4b6cf65dc15374d2a86c3 Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Thu, 1 Aug 2002 09:20:39 +0000 Subject: [PATCH] newer openssl seems to take the address of the schedule parameter to des_cbc_encrypt, so we need to feed it a variable, not just NULL (from Magnus Holmberg) git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11065 ec53bebd-3082-4978-b11e-865c3cabbd6b --- cf/crypto.m4 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cf/crypto.m4 b/cf/crypto.m4 index ed475ab14..ffa0132a5 100644 --- a/cf/crypto.m4 +++ b/cf/crypto.m4 @@ -39,6 +39,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then #include ], [ + void *schedule = 0; MD4_CTX md4; MD5_CTX md5; SHA_CTX sha1; @@ -47,7 +48,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then MD5_Init(&md5); SHA1_Init(&sha1); - des_cbc_encrypt(0, 0, 0, 0, 0, 0); + des_cbc_encrypt(0, 0, 0, schedule, 0, 0); RC4(0, 0, 0, 0); ], [ crypto_lib=libcrypto