Commit Graph

26696 Commits

Author SHA1 Message Date
Simon Wilkinson 1d9072f026 krb5: reorganise crypto.c
lib/krb5/crypto.c was a large, monolithic block of code which made
it very difficult to selectively enable and disable particular
alogrithms.

Reorganise crypto.c into individual files for each encryption and
salt time, and place the structures which tie everything together
into their own file (crypto-algs.c)

Add a non-installed library (librfc3961) and test program
(test_rfc3961) which builds a minimal rfc3961 crypto library, and
checks that it is usable.
2010-11-03 11:12:24 +00:00
Love Hornquist Astrand 6184422fef compare the value of the client realm now that it might not be the same pointer
fixes the check-delegate test that the new direct hop patch broke
2010-11-01 13:46:56 -07:00
Love Hornquist Astrand a16f7ea0ab add missing
prototype
2010-10-31 01:09:24 -07:00
Asanka C. Herath a73d30e619 get_cred_kdc_capath() always try direct cross-realm first 2010-10-31 01:04:27 -07:00
Joerg Pulz 344071becb add missing checks for utmpx struct fields
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-31 00:40:50 -07:00
Joerg Pulz 6f5b42957e add some more #ifdefs to compile on utmpx only systems
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-31 00:38:41 -07:00
Joerg Pulz ef90819a9a rename PTHREADS_LIBADD to PTHREAD_LIBADD
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-31 00:29:54 -07:00
Joerg Pulz b1bbd18686 fix FreeBSD PTHREAD_LIBADD
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-31 00:28:24 -07:00
Love Hornquist Astrand 501c5ac2fe sort and add ntlm_err.h 2010-10-30 22:19:29 -07:00
Love Hornquist Astrand aceab099f2 add ntlm_err.h 2010-10-30 22:18:34 -07:00
Love Hornquist Astrand 6f9a423c0a add libheimbase.la 2010-10-30 13:59:19 -07:00
Love Hornquist Astrand a85c548fd1 wait for dead children, and then abandon the live ones 2010-10-30 12:15:04 -07:00
Love Hornquist Astrand bbe08b7750 use clear_multi, don't call init twice 2010-10-27 22:19:22 -07:00
Love Hornquist Astrand 6d47c862ec really free memory too 2010-10-27 22:13:04 -07:00
Love Hornquist Astrand b7ac4c9333 really free memory too 2010-10-27 22:12:30 -07:00
Love Hornquist Astrand acbdbb753e plug memory leaks 2010-10-27 22:03:36 -07:00
Love Hornquist Astrand c71fe8f2cd spelling 2010-10-27 21:13:47 -07:00
Love Hornquist Astrand e334f05ab5 spelling 2010-10-27 21:13:31 -07:00
Love Hornquist Astrand 2eae1a1d30 spelling 2010-10-27 21:09:41 -07:00
Love Hornquist Astrand e0a1e0a806 simplify 2010-10-27 20:48:55 -07:00
Love Hornquist Astrand edc1c3e2a1 add heimbase.h 2010-10-27 20:43:15 -07:00
Love Hornquist Astrand 7259b7deff new way to run plugins that have less overhead (code and performance vice) 2010-10-27 20:42:35 -07:00
Love Hornquist Astrand ba8fe4b799 load plugin once 2010-10-27 20:42:01 -07:00
Love Hornquist Astrand b6573c69e6 more base 2010-10-27 20:33:57 -07:00
Love Hornquist Astrand ef78859954 clean heimbase. 2010-10-27 20:31:13 -07:00
Love Hornquist Astrand e457e87726 add Patrik Lundin 2010-10-27 19:35:04 -07:00
Love Hornquist Astrand 2a2b229efc reap all zombie children, promted by bug report from Patrik Lundin 2010-10-27 19:34:28 -07:00
Love Hornquist Astrand 01e03a1c1e common tailq 2010-10-26 23:42:33 -07:00
Love Hornquist Astrand b0c19f1a2d more use bits 2010-10-26 23:41:32 -07:00
Love Hornquist Astrand 82d15c0ada define helper macros for __attribute__ 2010-10-26 23:41:05 -07:00
Love Hornquist Astrand a77070f5b1 define helper macros for __attribute__ 2010-10-26 23:39:42 -07:00
Love Hornquist Astrand 82f7fcc9e9 provide heim_base_once_f 2010-10-24 12:20:14 -07:00
Love Hornquist Astrand 14b5c39f58 pulling heim_threads.h 2010-10-24 12:19:32 -07:00
Chas Williams (CONTRACTOR) a3afa695ee hcrypto: struct x64 doesn't need bitfields
hcrypto: struct x64 doesn't need bitfields

    The bitfield specifications on the struct x64 members do not actually do
    anything to guarantee/force packing or endian of the members.  Removing
    them allows the code to compile on certain compilers that do not support
    bitfields on 64-bit types.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-23 17:24:28 -07:00
Love Hornquist Astrand 3e022eeae1 remove unused variable, plug memory leak 2010-10-20 19:42:07 -07:00
Love Hornquist Astrand 2a9d00dd91 add digest and apop support 2010-10-19 18:16:49 -07:00
Love Hornquist Astrand 9f1168b703 add targetinfo and comerr error codes 2010-10-19 18:15:40 -07:00
Jan Rękorajski 99f690fd19 krb5_cc_last_change_time is missing 2010-10-18 16:07:59 -07:00
Love Hornquist Astrand 8ddc462ec1 Add heimbase 2010-10-18 15:00:34 -07:00
Joerg Pulz 03dfe132d0 Make build w/o PKINIT
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-18 08:28:42 -07:00
Joerg Pulz 4154bb82ce Add libintl for i18n support
Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-18 08:27:33 -07:00
Love Hornquist Astrand 8e7cf16491 Switch to ULL 2010-10-11 20:15:37 -07:00
Love Hornquist Astrand f5b16cbddb remove tfm 2010-10-11 20:10:24 -07:00
Simon Wilkinson 4dc6b5f259 hcrypto: Flag 64bit bit constants as long long
When using 64bit constants for initialisation flag them as LL, so
the compiler doesn't try to cast them down to a long, and throw away
information, on 32 bit platforms.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-11 20:08:25 -07:00
Simon Wilkinson 3d7fc1001a Assign a value for HX509_CMS_EV_ID_NAME
667ec8eb81 introduced the flag
HX509_CMS_EV_ID_NAME, without defining a value for that flag.
Assign a value using the next available bit.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2010-10-11 20:05:26 -07:00
Love Hornquist Astrand 20e4f3b9de more glue 2010-10-11 20:04:11 -07:00
Love Hornquist Astrand 8e24a897d7 make code match comment 2010-10-12 04:27:13 +02:00
Love Hornquist Astrand bf1f62b0a8 Document KCM 2010-10-10 18:18:46 -04:00
Love Hornquist Astrand 667ec8eb81 Use version 0 for issuer name serial number and version 2 for ski
Pointed by subject Michael Wood <esiotrot@gmail.com> on samba-technical
2010-10-07 00:22:09 -07:00
Love Hornquist Astrand ef543041fc moving on top of ourself is simple 2010-10-07 00:01:24 -07:00