Love Hörnquist Åstrand
0e90681917
Less pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:35:54 +00:00
Love Hörnquist Åstrand
a2dc8c858e
Use const void * to instead of unsigned char * to avoid pointer
...
signedness warnings.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:30:37 +00:00
Love Hörnquist Åstrand
4e6c7cbe57
Less pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 15:19:48 +00:00
Love Hörnquist Åstrand
622495b00b
Less pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:32:02 +00:00
Love Hörnquist Åstrand
c4d0fcfc9d
Less pointer signedness warnings (partly by using the new asn.1 CHOICE decoder)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:27:45 +00:00
Love Hörnquist Åstrand
40cb3723f1
Less pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-13 09:15:42 +00:00
Love Hörnquist Åstrand
12aa00c33f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17524 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-09 08:08:17 +00:00
Love Hörnquist Åstrand
dd796d90c2
(gsskrb5_is_cfx): always set is_cfx. From Andrew Abartlet.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17523 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-09 07:16:39 +00:00
Love Hörnquist Åstrand
27d503a511
(mic_des3): make sure message_buffer doesn't point to free()ed memory
...
on failure. Pointed out by IBM checker.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-08 09:55:37 +00:00
Love Hörnquist Åstrand
5118c90498
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17450 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 11:11:43 +00:00
Love Hörnquist Åstrand
cb704efeeb
Rename u_intXX_t to uintXX_t
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-05 10:37:46 +00:00
Love Hörnquist Åstrand
197bb022d1
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17437 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:59:59 +00:00
Love Hörnquist Åstrand
f832671530
Less pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17436 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:59:19 +00:00
Love Hörnquist Åstrand
3dd8e3181b
Avoid pointer signedness warnings.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17435 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:56:50 +00:00
Love Hörnquist Åstrand
4ecf2c2402
(gssapi_decode_*): make data argument const void *
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17434 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-05-04 11:56:14 +00:00
Love Hörnquist Åstrand
abd7e5ec1c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17062 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:55 +00:00
Love Hörnquist Åstrand
8d95c53570
Export sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17061 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:22 +00:00
Love Hörnquist Åstrand
6b8576e29f
Import sequence order element. From Wynn Wilkes <wynn.wilkes@quest.com>.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17060 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:45:03 +00:00
Love Hörnquist Åstrand
6dc6bb7552
(_gssapi_msg_order_import,_gssapi_msg_order_export):
...
New functions, used by {import,export}_sec_context.
From Wynn Wilkes <wynn.wilkes@quest.com >.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17059 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:44:05 +00:00
Love Hörnquist Åstrand
c1a6be3ef3
Add test for import/export sequence.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-12 17:42:17 +00:00
Love Hörnquist Åstrand
5c4f7cec25
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-10 17:15:10 +00:00
Love Hörnquist Åstrand
30627ab04b
Spelling.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-09 18:45:18 +00:00
Love Hörnquist Åstrand
31b3e7004d
Check that cred != GSS_C_NO_CREDENTIAL, this is a standard conformance
...
failure, but much better then a crash.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17026 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-09 18:38:13 +00:00
Love Hörnquist Åstrand
8796c7d7c8
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:13:12 +00:00
Love Hörnquist Åstrand
08f8270867
(get_mic*)_: make sure message_token is cleaned on error, found by IBM checker.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:12:52 +00:00
Love Hörnquist Åstrand
19d2b32265
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:33 +00:00
Love Hörnquist Åstrand
2740149d18
(wrap*): Reset output_buffer on error.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-04-02 02:10:03 +00:00
Love Hörnquist Åstrand
1662652a84
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-15 12:00:22 +00:00
Love Hörnquist Åstrand
686a5944b6
Accept both GSS_C_NT_HOSTBASED_SERVICE and
...
GSS_C_NT_HOSTBASED_SERVICE_X as nametype for hostbased names.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-02-15 11:59:10 +00:00
Love Hörnquist Åstrand
6325518929
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 13:15:05 +00:00
Love Hörnquist Åstrand
20beaf630b
(gss_delete_sec_context): if the context handle is GSS_C_NO_CONTEXT,
...
don't fall over.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-01-16 13:12:29 +00:00
Love Hörnquist Åstrand
5a0f157944
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16376 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:30:15 +00:00
Love Hörnquist Åstrand
0fd43e84b7
Replace gss_krb5_import_ccache with gss_krb5_import_cred and add more references
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16375 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-12 12:29:56 +00:00
Love Hörnquist Åstrand
f223888240
x
...
x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16351 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 13:09:59 +00:00
Love Hörnquist Åstrand
8b53c6c4f2
Change gss_krb5_import_ccache to gss_krb5_import_cred, it can handle keytabs too.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16350 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 11:52:45 +00:00
Love Hörnquist Åstrand
2fab85ec36
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:31:56 +00:00
Love Hörnquist Åstrand
723e43d205
test acquire_cred(GSS_C_ACCEPT)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16348 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:22:03 +00:00
Love Hörnquist Åstrand
afe55cba30
(gss_add_cred): avoid deadlock
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16347 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:20:32 +00:00
Love Hörnquist Åstrand
0c372958f3
(gssapi_lifetime_left): define the 0 lifetime as GSS_C_INDEFINITE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16346 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-05 09:19:52 +00:00
Love Hörnquist Åstrand
63506f62b3
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 21:00:03 +00:00
Love Hörnquist Åstrand
8ed16b3e1c
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 16:26:13 +00:00
Love Hörnquist Åstrand
c9962c948d
(acquire_acceptor_cred): only check if principal exists if we got
...
called with principal as an argument.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16338 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 16:26:02 +00:00
Love Hörnquist Åstrand
68d7efd2e4
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16337 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:50:58 +00:00
Love Hörnquist Åstrand
1cff67e8ce
(acquire_acceptor_cred): check that the acceptor exists in the keytab
...
before returning ok.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16336 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-12-01 15:50:42 +00:00
Love Hörnquist Åstrand
8ce2056373
(gss_krb5_import_cred): fix buglet, from Andrew Bartlett.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-28 23:05:44 +00:00
Love Hörnquist Åstrand
d7e11e5716
s/krb5_keytab_get_full_name/krb5_kt_get_full_name/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16297 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-26 11:00:08 +00:00
Love Hörnquist Åstrand
e4f39fc8ae
Use gss_krb5_import_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16294 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 15:57:35 +00:00
Love Hörnquist Åstrand
e5d85fd42d
Rename gss_krb5_import_ccache to gss_krb5_import_cred.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16293 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:43:03 +00:00
Love Hörnquist Åstrand
a85c42da3f
Rename gss_krb5_import_ccache to gss_krb5_import_cred and let it grow
...
code to handle keytabs too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16292 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-25 14:39:57 +00:00
Love Hörnquist Åstrand
d28785e212
Change sematics of ok-as-delegate to match windows if
...
[gssapi]realm/ok-as-delegate=true is set, otherwise keep old sematics.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16283 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-11-02 11:52:49 +00:00