Love Hörnquist Åstrand
b7bd206b82
New library version.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21430 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:37:36 +00:00
Love Hörnquist Åstrand
2dd77ab1fc
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21428 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:31:58 +00:00
Love Hörnquist Åstrand
6d9f9f12ac
Add default_cc_name_env.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21427 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:08:09 +00:00
Love Hörnquist Åstrand
39184f36f3
(enviroment_changed): return non-zero if enviroment that will
...
determine default krb5cc name has changed.
(krb5_cc_default_name): also check if cached value is uptodate.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21426 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 12:07:33 +00:00
Love Hörnquist Åstrand
7ce6be4012
drop internal flags that was impossile to set.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21425 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:52:00 +00:00
Love Hörnquist Åstrand
7df896616a
Drop pkinit_flags.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21424 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:50:04 +00:00
Love Hörnquist Åstrand
5a5abdd190
move pkinit internal flags to krb5_locl.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21423 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-10 11:45:34 +00:00
Love Hörnquist Åstrand
c08dd3d70e
verify_krb5_conf_OBJECTS depends on krb5-pr*.h, make -j finds this.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21397 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-07-02 11:38:19 +00:00
Love Hörnquist Åstrand
2a8c5958d5
add krb5_get_renewed_creds
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 10:58:10 +00:00
Love Hörnquist Åstrand
55473ae4f7
Add krb5_get_renewed_creds.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21327 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 10:54:15 +00:00
Love Hörnquist Åstrand
42c349839d
Use hx509_cms_unwrap_ContentInfo.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21321 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-26 05:21:56 +00:00
Love Hörnquist Åstrand
7f1b54370c
(nametypes) += static const.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-25 12:30:55 +00:00
Love Hörnquist Åstrand
6ef8b2861b
Adapt to hx509_verify_hostname change.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21270 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-24 19:26:50 +00:00
Love Hörnquist Åstrand
0a31115937
Document krb5_parse_nametype.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21255 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:36:31 +00:00
Love Hörnquist Åstrand
bcbae1850b
(krb5_parse_nametype): parse nametype and return their integer values.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21254 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:30:06 +00:00
Love Hörnquist Åstrand
d5bb7a7c56
(krb5_get_creds): if KRB5_GC_CONSTRAINED_DELEGATION is set, set both
...
request_anonymous and constrained_delegation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21253 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:24:24 +00:00
Love Hörnquist Åstrand
42bf4117ad
Add KRB5_GC_CONSTRAINED_DELEGATION.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21252 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-21 04:18:28 +00:00
Love Hörnquist Åstrand
f2f87ddcd9
Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21232 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-20 10:23:26 +00:00
Love Hörnquist Åstrand
cc6c68ffac
Windows likes little endian, so lets use that.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21174 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-19 10:10:58 +00:00
Love Hörnquist Åstrand
d68b36bb90
make compile
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21149 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:50:22 +00:00
Love Hörnquist Åstrand
c614532c87
(verify_checksum): memset cksum to avoid using pointer from stack.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21135 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:06:08 +00:00
Love Hörnquist Åstrand
a073113c08
Don't expose free pointer.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21134 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 21:02:23 +00:00
Love Hörnquist Åstrand
6a7734667a
(_krb5_pk_load_id): fail directoy for first calloc.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21133 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:52:29 +00:00
Love Hörnquist Åstrand
14537be0f4
(get_reply_key*): don't expose freed memory
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21132 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:49:42 +00:00
Love Hörnquist Åstrand
8ab80e3238
Host is static memory, don't free.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21131 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:48:09 +00:00
Love Hörnquist Åstrand
5bb7b3bc79
(decrypt_internal_derived): make sure length is longer then confounder
...
+ checksum.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21130 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 20:45:21 +00:00
Love Hörnquist Åstrand
b1f3eb8118
(pk_rd_pa_reply_enckey): simplify handling of content data (and avoid
...
leaking memory).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21109 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-18 10:49:08 +00:00
Love Hörnquist Åstrand
347f286c8b
Commit workaround for LH (disabled).
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21091 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-14 01:08:37 +00:00
Love Hörnquist Åstrand
a48a647b4e
Fix testcase for unparse_display.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21090 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-13 23:47:28 +00:00
Love Hörnquist Åstrand
d8e764f7c0
Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21076 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:39:15 +00:00
Love Hörnquist Åstrand
6465deda9c
Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21075 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:38:39 +00:00
Love Hörnquist Åstrand
fd2f735edd
Make no-quote mean replace strange chars with space.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21074 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:35:10 +00:00
Love Hörnquist Åstrand
6a38e8d297
Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21073 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:23:41 +00:00
Love Hörnquist Åstrand
757bafb34b
Add KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21072 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:21:10 +00:00
Love Hörnquist Åstrand
09a90d78cc
Test quoteing.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 22:20:01 +00:00
Love Hörnquist Åstrand
582a9d3c06
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21064 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 18:00:11 +00:00
Love Hörnquist Åstrand
18278b0bef
use krb5_sendto_context to talk to the KDC.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21063 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:59:36 +00:00
Love Hörnquist Åstrand
055dd97483
(_krb5_kdc_retry): check if the whole process needs to restart or just
...
skip this KDC.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:58:57 +00:00
Love Hörnquist Åstrand
2511fccfe3
Use krb5_sendto_context to talk to KDC.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:56:30 +00:00
Love Hörnquist Åstrand
3fd75229b3
Add sendto hooks and opaque structure.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:54:00 +00:00
Love Hörnquist Åstrand
220a01c50b
Update prototype.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:52:46 +00:00
Love Hörnquist Åstrand
e86b58e01c
Add hooks for processing the reply from the server.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:49:37 +00:00
Love Hörnquist Åstrand
88254f2835
(krb5_rd_error): make indata const.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 17:22:31 +00:00
Love Hörnquist Åstrand
6e9d640726
Some new error codes from RFC 4120.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-12 02:00:40 +00:00
Love Hörnquist Åstrand
cc4333b758
remove cvs ignore files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-09 03:09:59 +00:00
Love Hörnquist Åstrand
9df9f6a9da
revert 21003
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21004 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:53:10 +00:00
Love Hörnquist Åstrand
12df8538af
use "roken.h" consitantly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21003 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-08 01:42:05 +00:00
Love Hörnquist Åstrand
bf02504f31
Require the raw key have the correct size and do away with the
...
minsize. Minsize was a thing that originated from RC2, but since RC2
is done in the x509/cms subsystem now there is no need to keep that
around.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20981 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-07 20:05:50 +00:00
Love Hörnquist Åstrand
e9ae5054cd
plug memory leaks.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:33:11 +00:00
Love Hörnquist Åstrand
6559e67d3c
plug memory leaks.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-06-03 14:31:16 +00:00