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
This commit is contained in:
@@ -39,6 +39,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
|
|||||||
#include <openssl/rc4.h>
|
#include <openssl/rc4.h>
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
void *schedule = 0;
|
||||||
MD4_CTX md4;
|
MD4_CTX md4;
|
||||||
MD5_CTX md5;
|
MD5_CTX md5;
|
||||||
SHA_CTX sha1;
|
SHA_CTX sha1;
|
||||||
@@ -47,7 +48,7 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
|
|||||||
MD5_Init(&md5);
|
MD5_Init(&md5);
|
||||||
SHA1_Init(&sha1);
|
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);
|
RC4(0, 0, 0, 0);
|
||||||
], [
|
], [
|
||||||
crypto_lib=libcrypto
|
crypto_lib=libcrypto
|
||||||
|
Reference in New Issue
Block a user