Love Hörnquist Åstrand
b57bbebd7c
Cast 0 to EVP_CIPHER_iv_length to (EVP_CIPHER *).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22080 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-11-16 11:10:54 +00:00
Love Hörnquist Åstrand
f8e37d114f
openssl might require -ldl too, so lets check that.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-10-01 20:37:25 +00:00
Love Hörnquist Åstrand
e172dff224
move to right spot to avoid c89 errors.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 14:43:58 +00:00
Love Hörnquist Åstrand
789d984121
Depend on EVP_CIPHER_iv_length.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21639 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-17 14:43:28 +00:00
Love Hörnquist Åstrand
7ba2b2006c
rename des to hcrypto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-20 08:29:05 +00:00
Love Hörnquist Åstrand
70504e863c
OpenSSL_add_all_algorithms is not a openssl specific requirement,
...
hcrypto need to have to too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 17:22:43 +00:00
Love Hörnquist Åstrand
3388b318a9
Require openssl have OpenSSL_add_all_algorithms
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 14:54:33 +00:00
Love Hörnquist Åstrand
1939e91746
Move up evp.h to please OpenSSL, from Douglas E. Engert.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-06 06:46:27 +00:00
Love Hörnquist Åstrand
27456af853
Require SHA256
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-15 21:06:52 +00:00
Love Hörnquist Åstrand
d9e74e4571
Check for <openssl/engine.h> if we are to consider using OpenSSL, also
...
check for <hcrypto/...> headers since make_crypto.c assumes that the
name of the files.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-18 15:56:34 +00:00
Love Hörnquist Åstrand
21983e69ee
libdes is renamed to hcrypto
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 13:52:38 +00:00
Love Hörnquist Åstrand
ded2929236
Remove support for old hash names.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-13 09:00:15 +00:00
Love Hörnquist Åstrand
d39d44a88c
Add <sys/types.h>, OpenSSL 0.9.8 needs it for size_t.
...
From: Quanah Gibson-Mount <quanah@stanford.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-08-03 07:30:41 +00:00
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