Commit Graph

18 Commits

Author SHA1 Message Date
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
Love Hörnquist Åstrand c78ca069f1 use noinst_HEADERS for kcm-protos.h 2014-02-16 09:16:25 -08:00
Roland C. Dowdeswell be5afdbf7f Make concurrent builds work.
To stop the errors when building concurrently, we make a number of
changes:

        1.  stop including generated files in *_SOURCES,

        2.  make *-protos.h and *-private.h depend on the *_SOURCES,

        3.  make all objects depend on *-{protos,private}.h,

        4.  in a few places change dir/header.h to $(srcdir)/dir/header.h,

This appears to work for me with make -j16 on a 4-way box.
2012-08-08 00:04:04 +01:00
Love Hörnquist Åstrand 9fa3112645 drop krb4 2011-08-10 09:25:29 -07:00
Love Hörnquist Åstrand 7aaba443bc add NTMakefile and windows directories 2011-07-17 12:16:59 -07:00
Love Hornquist Astrand f7a6a29d6a add sessions.c 2011-03-13 01:23:56 -08:00
Love Hornquist Astrand c867fd3e2e Make libtool pull in the depenency on libldap
Put in explicy depenency on libdap so that libtool
might to the right thing for us.

Patch from Jan Rekorajski
2009-12-08 00:15:10 -08:00
Love Hornquist Astrand d2c2e37ef5 add missing libs, update constants 2009-11-21 23:58:40 -08:00
Love Hornquist Astrand c97cc4647c rename kcm_protos to kcm-protos.h 2009-07-30 15:03:28 +02:00
Love Hörnquist Åstrand a64eb2c00b cursor.c is dead
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24006 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-11-02 07:05:51 +00:00
Love Hörnquist Åstrand 7fe1196c96 finish support for libintl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23752 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-07 21:13:13 +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 a5a01377aa more files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18655 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-20 16:01:37 +00:00
Love Hörnquist Åstrand fbd562b700 add dependcy on kcm_protos.h
add lib depency on LIB_door_create


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15262 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-29 14:51:50 +00:00
Love Hörnquist Åstrand 218a3acab8 (kcm_SOURCES): add headerfiles
(kcm_protos.h): generate prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15230 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-24 18:09:03 +00:00
Love Hörnquist Åstrand 85fcff758d man_MANS += kcm.8
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@15069 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-05-03 13:31:37 +00:00
Love Hörnquist Åstrand 6c9040b3cb LDADD += LIB_pidfile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 09:06:51 +00:00
Luke Howard cd8bcb8404 Initial version of KCM daemon
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-02-03 08:20:00 +00:00