Commit Graph

29 Commits

Author SHA1 Message Date
Viktor Dukhovni
31896397d7 In krb5-config resolve rpath_flag at build-time 2017-03-10 19:23:31 -05:00
Nicolas Williams
490337f4f9 Make OpenSSL an hcrypto backend proper
This adds a new backend for libhcrypto: the OpenSSL backend.

Now libhcrypto has these backends:

 - hcrypto itself (i.e., the algorithms coded in lib/hcrypto)
 - Common Crypto (OS X)
 - PKCS#11 (specifically for Solaris, but not Solaris-specific)
 - Windows CNG (Windows)
 - OpenSSL (generic)

The ./configure --with-openssl=... option no longer disables the use of
hcrypto.  Instead it enables the use of OpenSSL as a (and the default)
backend in libhcrypto.  The libhcrypto framework is now always used.

OpenSSL should no longer be used directly within Heimdal, except in the
OpenSSL hcrypto backend itself, and files where elliptic curve (EC)
crypto is needed.

Because libhcrypto's EC support is incomplete, we can only use OpenSSL
for EC.  Currently that means separating all EC-using code so that it
does not use hcrypto, thus the libhx509/hxtool and PKINIT EC code has
been moved out of the files it used to be in.
2016-04-15 00:16:17 -05:00
Nicolas Williams
3c9dcd60c0 krb5-config --libs: include rpath like MIT 2016-03-22 16:07:34 -05:00
Roland C. Dowdeswell
3ec78180ce Update krb5-config.
We update krb5-config to support --all, --deps, and --vendor.  So,
now if you specify --libs, you will only get those libraries that
are required for dynamic linking.  If you are linking statically,
you must provide --deps.  We also allow multiple libraries to be
specified on the command line for applications that use, say, gssapi
and krb5.  And we elide -L and -I args if they have the prefix=/usr
as that's implied.  We also update the --help output to be a little
more verbose.
2012-02-29 17:27:58 +00:00
Love Hornquist Astrand
54ce0a776c re-encode as utf8 2011-12-12 21:26:52 -08:00
Love Hornquist Astrand
03df77d491 link with heimbase 2011-09-27 19:40:10 +02:00
Love Hornquist Astrand
6ec7e01c39 add PTHREAD_LIBADD 2009-12-17 09:24:52 +01:00
Love Hornquist Astrand
5dfe957a8f add (c) for the file that was left out 2009-10-15 14:59:58 -07:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
1a84d8074e Add wind.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 17:41:34 +00:00
Love Hörnquist Åstrand
400f712296 rename des to hcrypto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20528 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 13:22:16 +00:00
Love Hörnquist Åstrand
fa0bf26b00 Add heimntlm when we use gssapi.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-22 10:01:09 +00:00
Love Hörnquist Åstrand
3569862318 update useage for kafs, and add right lib (kafs) to lib_flags.
From Joakim Fallsjö.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-21 06:54:55 +00:00
Love Hörnquist Åstrand
185e193235 Add "kafs" option.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-15 06:17:50 +00:00
Love Hörnquist Åstrand
92764f2109 libhcrypto might depend on libasn1, switch order
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17207 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-24 10:25:18 +00:00
Love Hörnquist Åstrand
201f534ca1 Pass on flags, unbreaks last commit.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16839 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 21:40:56 +00:00
Love Hörnquist Åstrand
abfe7761c2 Add hx509 when using PK-INIT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-03-27 12:49:30 +00:00
Love Hörnquist Åstrand
017a3400cd Move depenency on @LIB_dbopen@ to kadm-server, kerberos library
doesn't depend on db-library.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-15 20:30:34 +00:00
Love Hörnquist Åstrand
549cf5b186 add depency on LIB_dlopen and LIB_door_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-06-30 19:19:20 +00:00
Love Hörnquist Åstrand
778706d0a0 add com_err to required libs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-02 21:04:11 +00:00
Johan Danielsson
001ad99baf add INCLUDE_des to cflags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-09-09 22:29:06 +00:00
Assar Westerlund
28a3dc3863 use @LIB_des_appl@
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 06:56:51 +00:00
Assar Westerlund
2e56027910 avoid using echo -n since that fails on system v-infected systems,
instead using string concatenation


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-25 13:07:41 +00:00
Assar Westerlund
e9c35a4457 add --prefix and --exec-prefix
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9247 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-01 04:58:54 +00:00
Assar Westerlund
dc09308996 add kadm-client and kadm5-server as libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9242 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-30 07:29:42 +00:00
Assar Westerlund
a773ef6680 make --version print correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9241 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-30 03:18:53 +00:00
Assar Westerlund
5c62907471 add --prefix, --exec-prefix and gssapi
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9220 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-29 05:37:16 +00:00
Assar Westerlund
8803541f95 rename --ldflags to --libs to do things the same was as glib et al
-config


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9219 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-29 05:18:53 +00:00
Assar Westerlund
fa5f7acd5c new files, used by other programs linking against this
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:41:40 +00:00