We need to define OPENSSL_DES_LIBDES_COMPATIBILITY in order to use

OpenSSL 0.9.7.  It does no harm to define it for earlier versions.

NOTE: OpenSSL 0.9.7 currently has a bug that breaks des_read_pw_string,
so we can't really use it yet.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11569 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Jacques A. Vidrine
2003-01-12 18:54:46 +00:00
parent 6b00957c10
commit 3ff0ae6bfe

View File

@@ -60,6 +60,7 @@ main(int argc, char **argv)
fprintf(f, "#ifndef __%s__\n", argv[1]);
fprintf(f, "#define __%s__\n", argv[1]);
#ifdef HAVE_OPENSSL
fputs("#define OPENSSL_DES_LIBDES_COMPATIBILITY\n", f);
fputs("#include <openssl/des.h>\n", f);
fputs("#include <openssl/rc4.h>\n", f);
fputs("#include <openssl/md4.h>\n", f);