Commit Graph

20 Commits

Author SHA1 Message Date
Johan Danielsson
c8f892953b correct some AC_LANG_SOURCE/AC_LANG_PROGRAM snafu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-26 12:35:42 +00:00
Johan Danielsson
94711445ee replace AC_TRY_LINK with AC_LINK_IFELSE
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14154 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-08-25 16:17:05 +00:00
Love Hörnquist Åstrand
ca12cabf2f check for DES_, AES_, and if openssl UI_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 09:38:26 +00:00
Assar Westerlund
6a4fd73125 define OPENSSL_DES_LIBDES_COMPATIBILITY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12206 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-05-05 19:59:20 +00:00
Love Hörnquist Åstrand
038443c62a check if libcrypto needs -lnsl or -lsocket
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-03 17:25:54 +00:00
Love Hörnquist Åstrand
dc98cddce7 in the case where se don't link with kerberos 4, use
${with_openssl_include} if its are set (not ${with_openssl}/include)
same for with_openssl_lib


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-04-02 13:02:02 +00:00
Johan Danielsson
c1f77c3cd6 do a better job at matching headers to libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11526 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-10-25 18:37:42 +00:00
Johan Danielsson
6ace93df86 use m4 macros for test cases, also test for older hash names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11439 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 19:55:48 +00:00
Johan Danielsson
cd55c75bea move krb4 test before test for openssl, and bail out if krb4 is
requested, but the crypto library is not the same as krb4


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11429 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-10 14:31:19 +00:00
Assar Westerlund
dfcb0f5208 define HAVE_OPENSSL even if we got to hear about it by krb4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 23:09:05 +00:00
Johan Danielsson
7b2c9d9405 try to extract the crypto compiler flags from {INCLUDE,LIB}_krb4
(XXX this is really horrible)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11277 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-08-28 19:36:57 +00:00
Johan Danielsson
f731320f36 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
2002-08-01 09:20:39 +00:00
Johan Danielsson
5dea40bdf4 am-conditionalise HAVE_OPENSSL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10985 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-05-17 16:01:25 +00:00
Assar Westerlund
0ca6c1bba0 use AC_WITH_ALL to allow separate specification of include and lib
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10594 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-29 17:02:48 +00:00
Assar Westerlund
9b8ad9f282 set and use INCLUDE_des
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-28 08:31:31 +00:00
Assar Westerlund
2062e07d73 remember to restore saved values after testing for krb4's libdes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10529 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-23 01:06:00 +00:00
Assar Westerlund
80e5d210ea actually add the library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 23:08:27 +00:00
Assar Westerlund
9c87af8e70 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
2001-08-22 22:25:45 +00:00
Assar Westerlund
b66db82a88 SHA1_CTX should be SHA_CTX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 21:34:26 +00:00
Assar Westerlund
aad564d1c2 re-write the handling of crypto libraries. try to use the one of
openssl's libcrypto or krb4's libdes that has all the required
functionality (md4, md5, sha1, des, rc4).  if there is no such
library, the included lib/des is built.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10519 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-08-22 20:30:33 +00:00