Commit Graph

7154 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ba2fb75678 prefix pkinit error codes with KRB5_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13395 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-20 21:40:42 +00:00
Love Hörnquist Åstrand
e7eaae52ff handle memory allocate errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13391 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:24:14 +00:00
Love Hörnquist Åstrand
73447cd88f (_krb5_xlock): handle that everything was ok, and don't put an error
in the error strings then


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13390 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 21:22:52 +00:00
Love Hörnquist Åstrand
9503937a3d indent, use krb5_abortx() instead of abort()
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13389 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:44:33 +00:00
Love Hörnquist Åstrand
8696c13a7f (process_pa_data_to_key): spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13388 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-19 12:41:19 +00:00
Love Hörnquist Åstrand
ed2915aca8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13382 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:07:52 +00:00
Love Hörnquist Åstrand
6806ed574f (add_string): catch error from realloc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13381 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:07:42 +00:00
Love Hörnquist Åstrand
793915d663 possibly return ENOMEM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 12:04:59 +00:00
Love Hörnquist Åstrand
82bc224368 adapt to the new format of heim_integer, start working on w2k compat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13379 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-17 08:46:59 +00:00
Love Hörnquist Åstrand
d85519e16d s/heim_big_integer/heim_integer/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13355 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 17:08:29 +00:00
Love Hörnquist Åstrand
ad01ed478a adapt to asn1 bignum code, use HEIM_PKINIT errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13353 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:24:27 +00:00
Love Hörnquist Åstrand
2e261f0a4b add HEIM_PKINIT specific errors
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13352 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-13 16:23:40 +00:00
Love Hörnquist Åstrand
7dbeeb957f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13345 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:48:17 +00:00
Love Hörnquist Åstrand
5cc66e1d2b add simple_execve_timed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13344 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:48:04 +00:00
Love Hörnquist Åstrand
7d842b177a x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13343 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:37:41 +00:00
Love Hörnquist Åstrand
0e44e47b2a add timed simple_exec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13342 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-12 14:37:18 +00:00
Love Hörnquist Åstrand
0d4320db0b (change_password): handle that printf("%.*s", 0, (void*)NULL); doesn't
work on solaris


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-11 12:30:35 +00:00
Love Hörnquist Åstrand
310701f968 don't use path's in first .Nm, it confuses some locate.updatedb, use
FILES section to describe where the file is instead.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-10 13:28:45 +00:00
Love Hörnquist Åstrand
387710cab1 test for "der_length.c: Fix len_unsigned for certain negative
integers, it got the length wrong" , from Panasas, Inc.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13317 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:30:07 +00:00
Love Hörnquist Åstrand
a96b264050 Fix len_unsigned for certain negative integers, it got the length
wrong, fix from Panasas, Inc.

rename len_int and len_unsigned to _heim_\&


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13316 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:27:59 +00:00
Love Hörnquist Åstrand
d0daf9b14c add _heim_len_unsigned, _heim_len_int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13315 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-07 14:16:53 +00:00
Love Hörnquist Åstrand
0f49388ac2 test for: (length_type): TSequenceOf: add up the size of all the
elements, don't use just the size of the last element.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13313 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 22:15:42 +00:00
Love Hörnquist Åstrand
1987668bf1 add "next iv" test for aes128, check decryption case too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13312 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:05:57 +00:00
Love Hörnquist Åstrand
38222b38b2 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block,
fix decryption case too


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 21:04:41 +00:00
Love Hörnquist Åstrand
b1c7bcffd1 add "next iv" test for aes128
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:48:25 +00:00
Love Hörnquist Åstrand
290b1c07d8 (_krb5_aes_cts_encrypt): out iv is the iv of the next to last block
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13309 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 20:47:21 +00:00
Love Hörnquist Åstrand
051ed5b5a1 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13306 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:06:10 +00:00
Love Hörnquist Åstrand
b556de6237 (krb5_mk_rep): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13305 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:05:02 +00:00
Love Hörnquist Åstrand
a74d87717c (krb5_get_in_cred): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13304 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:42 +00:00
Love Hörnquist Åstrand
5e5a56079a (krb5_mk_priv): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13303 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 17:03:00 +00:00
Love Hörnquist Åstrand
74ee19a354 (make_pa_tgs_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:59:37 +00:00
Love Hörnquist Åstrand
79ec557a94 (krb5_build_authenticator): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13301 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:58:24 +00:00
Love Hörnquist Åstrand
da1b9cbc7f (krb5_build_ap_req): abort on internal asn1 encode error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13300 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-02-03 16:56:19 +00:00
Love Hörnquist Åstrand
653db66d34 register WRFILE ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:05:42 +00:00
Love Hörnquist Åstrand
b5f0883c6a add krb5_wrfkt_ops/WRFILE (same as FILE)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:03:22 +00:00
Love Hörnquist Åstrand
df1bac1a97 add krb5_wrfkt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 21:00:29 +00:00
Love Hörnquist Åstrand
152e9654e8 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13291 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:31:55 +00:00
Love Hörnquist Åstrand
9bc7a44acb add gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:15:29 +00:00
Love Hörnquist Åstrand
f9fd3f909e (libgssapi_la_SOURCES): += ccache_name.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:14:04 +00:00
Love Hörnquist Åstrand
f59f30ea3d (gss_krb5_ccache_name): help function enable to set krb5 name, using
out_name argument makes function no longer thread-safe


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:08:57 +00:00
Love Hörnquist Åstrand
b2d84d9e03 add missing gss_krb5_ references
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:05:40 +00:00
Love Hörnquist Åstrand
7836be49ae document gss_krb5_ccache_name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-25 19:02:59 +00:00
Love Hörnquist Åstrand
d186f2e8ea x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-22 15:12:22 +00:00
Love Hörnquist Åstrand
0154e035af search paths for AFS configuration files for the OpenAFS MacOS X,
fix comment


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13282 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-22 15:12:12 +00:00
Love Hörnquist Åstrand
b186071905 search paths for AFS configuration files for the OpenAFS MacOS X
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13281 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-22 15:11:23 +00:00
Love Hörnquist Åstrand
9c3fc6f67f (_krb5_xlock): catch EINVAL and assume that it means that the
filesystem doesn't support locking


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-21 13:20:06 +00:00
Love Hörnquist Åstrand
b18ecb3e09 remove #if 0 out file locking code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13278 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-21 10:55:54 +00:00
Love Hörnquist Åstrand
de222a34c8 (length_type): TSequenceOf: add up the size of all the elements, don't
use just the size of the last element.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13276 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-19 17:54:33 +00:00
Love Hörnquist Åstrand
f66a6f7987 add prototypes, describe krb5_keyblock_zero
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13258 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-08 09:01:33 +00:00
Love Hörnquist Åstrand
dd1875d0a5 (add_addrs): don't add same address multiple times
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13257 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-01-05 15:17:25 +00:00