Commit Graph

12138 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
52eb0189cb (read_v4_entry): the des key is 8 bytes, use a char array instead of des_cblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12513 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-24 13:43:06 +00:00
Love Hörnquist Åstrand
5b1231ff3a add support for KRB5_PADATA_ETYPE_INFO2
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 18:56:59 +00:00
Love Hörnquist Åstrand
d73655dcc7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12511 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:06:38 +00:00
Love Hörnquist Åstrand
78d1c49923 (hmac): make it return an error when out of memory, update callsites
to either return error or use krb5_abortx
(krb5_hmac): expose hmac


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12510 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:06:24 +00:00
Love Hörnquist Åstrand
84e7684333 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12509 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:01:25 +00:00
Love Hörnquist Åstrand
7dfedf540d add aes support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12508 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 13:00:42 +00:00
Love Hörnquist Åstrand
1e21591d32 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:35:44 +00:00
Love Hörnquist Åstrand
700e971e5b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:13:06 +00:00
Love Hörnquist Åstrand
753ef4229a always include v4 symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12505 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:12:38 +00:00
Love Hörnquist Åstrand
4283ca3eee provide dummy krb_ function to there is no need to bump major
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12504 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-23 09:11:12 +00:00
Love Hörnquist Åstrand
400d4b2e63 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12503 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:41:14 +00:00
Love Hörnquist Åstrand
9caa168b54 (krb5_keyblock_get_enctype): return enctype of keyblock
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12502 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:40:17 +00:00
Love Hörnquist Åstrand
cc0a5435fe (man_MANS): += krb5_keyblock.3
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12501 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:27:06 +00:00
Love Hörnquist Åstrand
c8cb88a62c some information about krb5_keyblock and related functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12500 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:25:22 +00:00
Love Hörnquist Åstrand
cef811fcb6 make the non-debug version of the mutex macros "use" the "mutex"
integer so the compile wont complain about defined unused variables


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12499 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 21:10:50 +00:00
Love Hörnquist Åstrand
3f2394ad11 make thread local storage macros take a "return" argument so no
functions need to be created for the no-pthread case


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12498 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:57:58 +00:00
Love Hörnquist Åstrand
79442df848 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12497 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:55:04 +00:00
Love Hörnquist Åstrand
32752ea144 (repl_mutual): don't set kerberos error where there was no kerberos error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12496 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:53:43 +00:00
Love Hörnquist Åstrand
59a9e85922 Add destruction/creation prototypes and structure for the thread specific storage.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12495 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:52:32 +00:00
Love Hörnquist Åstrand
ba2d66fbd0 use thread specific storage to set/get the kerberos error message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:51:31 +00:00
Love Hörnquist Åstrand
2e732d2ef1 Provide locking around the creation of the global krb5_context. Add
destruction/creation functions for the thread specific storage that
the error string handling is using.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12493 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:50:11 +00:00
Love Hörnquist Åstrand
df6940ae2b only enable netbsd thread support if ENABLE_PTHREAD_SUPPORT is defined (so it can be disabled)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12492 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:13:12 +00:00
Love Hörnquist Åstrand
8fdd082fd4 enable pthread if != no
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12491 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:11:28 +00:00
Love Hörnquist Åstrand
e2a4344ba6 adding RWLOCKS and [sg]etspecific
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12490 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 19:00:06 +00:00
Love Hörnquist Åstrand
15ee6b991f use KRB_PTHREADS
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12489 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 18:45:24 +00:00
Love Hörnquist Åstrand
853a9a5a40 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12488 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 18:44:39 +00:00
Love Hörnquist Åstrand
a30dfdf642 pthread test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12487 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 18:44:16 +00:00
Love Hörnquist Åstrand
ee4a8728d5 (gen_files): add asn1_KerberosString and sort
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12486 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 17:52:29 +00:00
Love Hörnquist Åstrand
11e5bfe11e (ETYPE-INFO2-ENTRY): salt is a KerberosString
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12485 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 13:04:24 +00:00
Love Hörnquist Åstrand
141114779c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12484 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 12:30:31 +00:00
Love Hörnquist Åstrand
7a095e2381 add ticket access functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12483 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 12:18:26 +00:00
Love Hörnquist Åstrand
aa10794d91 add some more krb5_c functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 10:23:28 +00:00
Love Hörnquist Åstrand
6d719817e4 (krb5_cksumtype_valid): check is checksum type is a valid one
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 10:14:05 +00:00
Love Hörnquist Åstrand
e62ea35927 (krb5_checksum_is_keyed): only set extented error string when there is a context
(krb5_checksum_is_collision_proof): ditto


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-22 10:08:50 +00:00
Love Hörnquist Åstrand
d05a6db6f4 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12479 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 21:23:05 +00:00
Love Hörnquist Åstrand
b96d3e3b50 (krb5_c_get_checksum): make type and data argument optional
(krb5_c_{encrypt,decrypt}): return "better" error codes for invalid ivec length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12478 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 21:16:26 +00:00
Love Hörnquist Åstrand
8967eaa719 update krb5_c_get_checksum usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12477 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 21:12:46 +00:00
Love Hörnquist Åstrand
8b79c24ba7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12476 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 20:22:26 +00:00
Love Hörnquist Åstrand
2b396ee7e8 (krb5_crypto_getenctype): new function
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12475 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 20:21:34 +00:00
Love Hörnquist Åstrand
9a9841815d avoid redefining OPENSSL_DES_LIBDES_COMPATIBILITY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12468 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 13:11:46 +00:00
Love Hörnquist Åstrand
ec7eabd6d4 add krb5_enc_data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12467 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-21 13:00:09 +00:00
Love Hörnquist Åstrand
217cb2649d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12466 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-20 11:05:09 +00:00
Love Hörnquist Åstrand
ca06524a21 add missing prototype and missing .Ft arguments
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12464 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-20 11:02:19 +00:00
Love Hörnquist Åstrand
9999cdae9d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12463 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 10:12:02 +00:00
Love Hörnquist Åstrand
4759161b72 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12462 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:58:50 +00:00
Love Hörnquist Åstrand
0d992fb664 add ftp_do_gss_bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12461 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:58:18 +00:00
Love Hörnquist Åstrand
2dfba1b25c fix mdoc bug
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12460 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:57:08 +00:00
Love Hörnquist Åstrand
3df6ae565f document --no-gss-bindings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12459 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:54:27 +00:00
Love Hörnquist Åstrand
6e46d232bf Optionally support gss bindings, client does it by default, server not.
This is to make it work for clients behind NAT.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12458 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:51:15 +00:00
Love Hörnquist Åstrand
579b0037e6 (args): add gss-bindings
(main): set ftp_do_gss_bindings to 1 to make client use them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12457 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-07-19 09:49:28 +00:00