1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix build with OpenSSL 0.9.7+.

This commit is contained in:
Jacques Vidrine 2003-03-04 14:52:03 +00:00
parent e9bfcca274
commit 74b7db6ce9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76849
2 changed files with 35 additions and 0 deletions

View File

@ -0,0 +1,18 @@
Index: include/make_crypto.c
===================================================================
RCS file: /home/kth-krb/heimdal/include/make_crypto.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -c -c -r1.3 -r1.4
*** include/make_crypto.c 19 Sep 2002 15:25:14 -0000 1.3
--- include/make_crypto.c 12 Jan 2003 18:54:46 -0000 1.4
***************
*** 60,65 ****
--- 60,66 ----
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);

View File

@ -0,0 +1,17 @@
Index: kuser/kuser_locl.h
===================================================================
RCS file: /home/kth-krb/heimdal/kuser/kuser_locl.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -c -c -r1.12 -r1.13
*** kuser/kuser_locl.h 2 Dec 1999 17:05:01 -0000 1.12
--- kuser/kuser_locl.h 21 Jan 2003 14:13:51 -0000 1.13
***************
*** 85,89 ****
--- 85,90 ----
#include <sys/ioccom.h>
#endif
#include <kafs.h>
+ #include "crypto-headers.h" /* for des_read_pw_string */
#endif /* __KUSER_LOCL_H__ */