cannot use NULL, so 0 will have to do
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10527 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,8 +45,8 @@ 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(NULL, NULL, 0, NULL, NULL, 0);
|
des_cbc_encrypt(0, 0, 0, 0, 0, 0);
|
||||||
RC4(NULL, 0, NULL, NULL);
|
RC4(0, 0, 0, 0);
|
||||||
], [
|
], [
|
||||||
crypto_lib=libcrypto
|
crypto_lib=libcrypto
|
||||||
AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto])
|
AC_DEFINE([HAVE_OPENSSL], 1, [define to use openssl's libcrypto])
|
||||||
@@ -88,8 +88,8 @@ if test "$crypto_lib" = "unknown" -a "$with_krb4" != "no"; then
|
|||||||
MD5_Init(&md5);
|
MD5_Init(&md5);
|
||||||
SHA1_Init(&sha1);
|
SHA1_Init(&sha1);
|
||||||
|
|
||||||
des_cbc_encrypt(NULL, NULL, 0, NULL, NULL, 0);
|
des_cbc_encrypt(0, 0, 0, 0, 0, 0);
|
||||||
RC4(NULL, 0, NULL, NULL);
|
RC4(0, 0, 0, 0);
|
||||||
], [crypto_lib=krb4; AC_MSG_RESULT([krb4's libdes])])
|
], [crypto_lib=krb4; AC_MSG_RESULT([krb4's libdes])])
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user