Commit Graph

14484 Commits

Author SHA1 Message Date
Love Hornquist Astrand 610737fe90 don't shadow variables, from Matthias Wallnöfer 2009-10-21 20:23:19 -07:00
Love Hornquist Astrand 2ac04069b6 If the context already have a EVP_MD_CTX allocated, don't make a new
Patch from Derrick Pallas of Riverbed Techology
2009-10-16 16:40:49 -07:00
Andrew Bartlett 6243038c9f s4:heimdal A real fix for bug 6801
The issue was that we would free the entry after the database, not
knowing that the entry was a talloc child of the database.

Andrew Bartlett

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-10-13 21:44:22 -07:00
Love Hornquist Astrand 39a751d6fb expose hdb_interface_version 2009-10-13 09:35:39 -07:00
Love Hornquist Astrand f064547294 Use com_right_r(). 2009-10-12 10:55:12 -07:00
Love Hornquist Astrand 0c5a5849e1 add com_right_r 2009-10-12 10:41:32 -07:00
Love Hornquist Astrand d366ed823c add krb5_?prepend_error_message() 2009-10-12 10:23:28 -07:00
Love Hornquist Astrand 1857a8b41c add krb5_?prepend_error_message() 2009-10-12 10:23:14 -07:00
Love Hornquist Astrand 33002c449c deprecate krb5_get_err_text 2009-10-12 09:38:14 -07:00
Love Hornquist Astrand 8d84cfe5c2 deprecate krb5_get_err_text 2009-10-12 09:37:54 -07:00
Love Hornquist Astrand f5e2873be2 Use strerror_r 2009-10-12 09:34:37 -07:00
Love Hornquist Astrand fd042b7656 Use strerror_r 2009-10-12 09:22:45 -07:00
Love Hornquist Astrand 682c5e5867 Use strerror_r 2009-10-12 09:07:31 -07:00
Love Hornquist Astrand bf01a8461f Use strerror_r 2009-10-12 09:06:11 -07:00
Love Hornquist Astrand fb35ca4026 detect strerror_r and if not there, provide it 2009-10-12 09:01:55 -07:00
Love Hornquist Astrand 39d4a77d6a Disable this for AIX 2009-10-11 18:42:59 -07:00
Love Hornquist Astrand 279d62834d [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:17:12 -07:00
Love Hornquist Astrand a4881ea0d6 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:04:43 -07:00
Love Hornquist Astrand 6f6a384257 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 18:02:56 -07:00
Love Hornquist Astrand b0e53280e2 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:33:13 -07:00
Love Hornquist Astrand b4013ca830 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:33:02 -07:00
Love Hornquist Astrand 75aebbf616 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 17:32:38 -07:00
Love Hornquist Astrand 9f587ef0c2 Allocate some memory for OCSP responces 2009-10-11 16:26:26 -07:00
Love Hornquist Astrand 84111cb8e1 [HEIMDAL-646] malloc(0) checks for AIX 2009-10-11 16:25:42 -07:00
Love Hornquist Astrand 102cd04b0d its ok to return NULL if we are allocating zero elements 2009-10-11 15:38:21 -07:00
Love Hornquist Astrand 1e9ec73bbc [HEIMDAL-646] aix
AIX qsort() is unstable and might change the order of the elements
if they are equal, libwind require them to be in the same order as they were
on the input, pull in FreeBSD qsort and use that instead of AIX version.
2009-10-11 15:08:58 -07:00
Love Hornquist Astrand e1b14b7854 Use right type when mallocing data (allocated too much) 2009-10-11 15:08:27 -07:00
Love Hornquist Astrand 377543e78e use size_t for index 2009-10-11 14:36:46 -07:00
Love Hornquist Astrand 93f0e450cc fix sizeof, only matter on platforms where sizeof(unsigned) != sizeof(uint32_t) 2009-10-11 12:22:19 -07:00
Love Hornquist Astrand 983d0f66f1 print lineno 2009-10-11 12:18:22 -07:00
Love Hornquist Astrand d36402a671 Don't assume ldap_bv2escaped_filter_value() is exported 2009-10-11 11:17:56 -07:00
Love Hornquist Astrand 977acdd84d Always send subkey and assume reply is encrypted using subkey 2009-10-11 09:12:01 -07:00
Love Hornquist Astrand 8e08aa0a15 Use krb5_free_keyblock() 2009-10-11 08:45:51 -07:00
Love Hornquist Astrand 943123da3b enable DES when getting the afs credential 2009-10-07 09:39:19 -07:00
Love Hornquist Astrand d3d9e5ecb5 free sp on error/full send 2009-10-06 11:19:27 -07:00
Love Hornquist Astrand 4bab1141d8 syntax error, from Harald Barth 2009-10-06 09:36:18 -07:00
Love Hornquist Astrand 77ecef0327 tell where kafs will search for files, from Harald Barth 2009-10-06 09:27:46 -07:00
Love Hornquist Astrand 57b40643b9 use server name for referral decision 2009-10-06 07:38:29 -07:00
Love Hornquist Astrand ceac2815bb Just use RAND_bytes() for generating random bytes 2009-10-06 06:00:24 -07:00
Love Hornquist Astrand 75a61b8842 krb5_build_authenticator is private 2009-10-05 22:09:23 -07:00
Love Hornquist Astrand 6d1d17efed don't canonicalize names that are short then 2 name element
Since KDC will probably guess wrong on them, and doing
afs@CLIENT-REALM have too large change of actually working.
2009-10-05 22:07:47 -07:00
Love Hornquist Astrand d7e7640d46 fix argumentin doxygen 2009-10-05 20:29:37 -07:00
Love Hornquist Astrand a132ffe757 Simplify krb5_build_authenticator and unexport 2009-10-05 19:52:28 -07:00
Love Hornquist Astrand cc65dc4e8e Just make a copy of the cksum instead of trying to work around the
fact that its not really copied.
2009-10-05 19:25:46 -07:00
Love Hornquist Astrand 753e2cc925 Check that enctypes are valid/enabled before trying to request them 2009-10-05 19:17:11 -07:00
Love Hornquist Astrand 0d10dfb529 doxygen 2009-10-04 11:33:45 -07:00
Love Hornquist Astrand b0f73165a7 use krb5_make_principal 2009-10-04 11:29:54 -07:00
Love Hornquist Astrand 9e13b309d9 use krb5_make_principal 2009-10-04 11:29:43 -07:00
Love Hornquist Astrand dc31556b7d use krb5_generate_subkey_extended 2009-10-04 11:12:43 -07:00
Love Hornquist Astrand 4f6759157b move krb5_generate_subkey to deprecated and provide doxygen 2009-10-04 11:02:44 -07:00