Commit Graph

15170 Commits

Author SHA1 Message Date
Love Hornquist Astrand 3b51f94c2b Make compile on pre-leopard (Tiger needs CSSM_SIZE), From Quanah Gibson-Mount 2010-01-08 13:17:47 +01:00
Love Hornquist Astrand 9200bb1738 Wrap <CommonCrypto/CommonDigest.h> with ifdef since it doesn't exists on Tiger 2010-01-08 13:12:44 +01:00
Love Hornquist Astrand f6e0d19cc0 make rk_SOCK_EXIT a statment to avoid warnings 2010-01-08 13:08:24 +01:00
Love Hornquist Astrand c24a7d2d80 fix const-ifyier on cc-ops 2010-01-08 13:07:27 +01:00
Love Hornquist Astrand 26770c90f3 move unused variable to inside #ifdef 2010-01-08 12:59:35 +01:00
Love Hornquist Astrand f3ea26c759 remove unused variable 2010-01-08 12:58:20 +01:00
Love Hornquist Astrand 3cc8e8bfc7 listen for http requests 2010-01-06 12:54:54 +01:00
Love Hornquist Astrand 8857c285e8 build ts-http 2010-01-06 12:54:27 +01:00
Love Hornquist Astrand dad3296f64 expose SIPC_TYPE flags 2010-01-06 12:54:09 +01:00
Love Hornquist Astrand 0f5267b97f Make http connections work 2010-01-06 12:53:52 +01:00
Love Hornquist Astrand 1354b6650b clean up http support 2010-01-06 10:42:28 +01:00
Love Hornquist Astrand 68d2f52ad4 fixup prototype 2010-01-06 10:42:16 +01:00
Love Hornquist Astrand 6847593406 Include <base64.h>. 2010-01-06 10:40:53 +01:00
Love Hornquist Astrand eab88ad791 Include <ctype.h>. 2010-01-06 10:36:12 +01:00
Love Hornquist Astrand 2711882f3f Add bits to support HTTP in server 2010-01-04 16:11:18 +01:00
Love Hornquist Astrand 48504c5771 [Heimdal-704] export encode_Key/length_Key, from Jan Rekorajski 2010-01-04 13:14:11 +01:00
Love Hornquist Astrand e5bc5d6a32 happy new year 2010-01-02 17:57:12 +01:00
Love Hornquist Astrand 6a7810d12f Export initialize_hdb_error_table_r and free_Salt, requested by Jelmer Vernooij in Debian bug #56275 2010-01-02 17:53:57 +01:00
Love Hornquist Astrand 102087bd67 export GSS_KRB5_CRED_NO_CI_FLAGS_X, needed by samba 2010-01-02 17:48:26 +01:00
Love Hornquist Astrand d65ba36a5e replace exeext too 2010-01-01 13:33:47 +01:00
Love Hornquist Astrand 332f988737 make verify checksum ct 2010-01-01 13:09:22 +01:00
Love Hornquist Astrand dd04b1d7ba make DES_is_weak_key ct 2010-01-01 13:08:04 +01:00
Love Hornquist Astrand 212a3ea09a test weak keys 2010-01-01 13:07:20 +01:00
Love Hornquist Astrand dd9e076e47 reorder to remove if (0); 2009-12-25 10:45:26 +01:00
Love Hornquist Astrand 15cff173a2 Use #ifdef SIGXCPU instead of #ifndef NO_SIGXCPU 2009-12-25 10:44:40 +01:00
Love Hornquist Astrand 02e980612e make #ifdef positive, add comments 2009-12-24 07:19:49 +01:00
Love Hornquist Astrand 08d12ee6e0 implement RAND_pseudorand for the w32 provider in terms of w32crypto_bytes 2009-12-24 07:13:15 +01:00
Love Hornquist Astrand 95888d4ad3 rk_cloexec_dir uses dirfd that is not available on windows
All unixes have something like it, roken provides macro if not available.
2009-12-23 19:38:21 +01:00
Love Hornquist Astrand 3a09421025 no dirent.h, use dirent.hin instead 2009-12-23 19:29:40 +01:00
Love Hornquist Astrand 7a7061ac70 use strtol 2009-12-23 17:07:36 +01:00
Love Hornquist Astrand f798af41a0 change #ifdef to make this compile 2009-12-23 14:31:28 +01:00
Love Hornquist Astrand be73fa4687 use krb5_socket_t 2009-12-23 14:12:38 +01:00
Love Hornquist Astrand 160ddd0e43 use rk_closesocket 2009-12-23 14:06:37 +01:00
Love Hornquist Astrand 8d28c442d5 Merge branch 'master' into win32-port 2009-12-23 14:03:37 +01:00
Asanka Herath 68cfbb7e19 Add rk_cloexec_dir() to lib/roken 2009-12-22 14:03:39 -05:00
Guido Günther 33f3be4d52 Don't free the hx509ctx
otherwise we crash if we fail to init certs (e.g. due to missing
smartcard).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-12-22 18:49:39 +01:00
Asanka Herath ff11a8ae43 Merge remote branch 'lha/master' into win32-port2
* lha/master:
  Clean kadm5-pwcheck.h
  rename closesocket to rk_closesocket
  Log what principal was used in the failure case
2009-12-22 11:05:03 -05:00
Love Hornquist Astrand 4182a61eba rename closesocket to rk_closesocket 2009-12-22 09:03:05 +01:00
Asanka Herath 27115dea15 Correct whitespace errors 2009-12-21 18:06:23 -05:00
Asanka Herath 7f5b105fd6 Fix exports 2009-12-21 18:06:05 -05:00
Asanka Herath 16faee892e Use correct socket glue and try to maintain constness 2009-12-21 18:05:39 -05:00
Asanka Herath a0ae9f5a0e Merge remote branch 'h-github/master' into win32-port2
* h-github/master: (64 commits)
  refix socket wrappers with rk_
  Patch from Secure Endpoints/Asanka Herath for windows support
  unset KRB5CCNAME
  its really just LIBADD more most of them
  correct quoting
  Use -lpthread for modern freebsd instead
  clean KRB5CCNAME and KRB5_CONFIG, require test to reset them
  more up ${env_setup}
  use PTHREADS_LIBADD for freebsd6 and newer
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  add PTHREAD_LIBADD
  switch to PTHREADS_LIBADD
  log what the error string say too
  More debug logging
  sprinkle more 'echo "test failed"'
  sprinkle 'echo "test failed"'
  use calloc(), indent more prettier
  in sh, equal compare is really = for strings, not ==
  Check for duplicates, already loaded mechs
  ...

Conflicts (resolved):
	lib/krb5/auth_context.c
	lib/krb5/changepw.c
	lib/krb5/context.c
	lib/krb5/error_string.c
	lib/krb5/kuserok.c
	lib/krb5/libkrb5-exports.def.in
	lib/krb5/net_write.c
	lib/krb5/store_fd.c
	lib/krb5/test_cc.c
	lib/roken/strerror_r.c
2009-12-21 13:44:00 -05:00
Asanka Herath 349915e438 Fix comment 2009-12-21 13:09:26 -05:00
Love Hornquist Astrand d1d0de730d refix socket wrappers with rk_ 2009-12-21 08:50:46 +01:00
Love Hornquist Astrand 687db64c56 Patch from Secure Endpoints/Asanka Herath for windows support 2009-12-21 08:45:28 +01:00
Love Hornquist Astrand d9e7f5cd97 add PTHREAD_LIBADD 2009-12-17 09:25:30 +01:00
Love Hornquist Astrand 76c1e2e8a2 switch to PTHREADS_LIBADD 2009-12-17 09:11:09 +01:00
Love Hornquist Astrand eadb8838cb use calloc(), indent more prettier 2009-12-14 21:40:16 -08:00
Love Hornquist Astrand a740ee89bc Check for duplicates, already loaded mechs 2009-12-14 17:16:59 -08:00
Love Hornquist Astrand 986aff5a86 (kcm_send_request): if heim_ipc_init_context, we have not kcm 2009-12-14 16:05:10 -08:00