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:
Assar Westerlund
2001-08-22 22:25:45 +00:00
parent 93b5639e63
commit 9c87af8e70

View File

@@ -45,8 +45,8 @@ if test "$crypto_lib" = "unknown" -a "$with_openssl" != "no"; then
MD5_Init(&md5);
SHA1_Init(&sha1);
des_cbc_encrypt(NULL, NULL, 0, NULL, NULL, 0);
RC4(NULL, 0, NULL, NULL);
des_cbc_encrypt(0, 0, 0, 0, 0, 0);
RC4(0, 0, 0, 0);
], [
crypto_lib=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);
SHA1_Init(&sha1);
des_cbc_encrypt(NULL, NULL, 0, NULL, NULL, 0);
RC4(NULL, 0, NULL, NULL);
des_cbc_encrypt(0, 0, 0, 0, 0, 0);
RC4(0, 0, 0, 0);
], [crypto_lib=krb4; AC_MSG_RESULT([krb4's libdes])])
fi