Commit Graph

38 Commits

Author SHA1 Message Date
Asanka Herath
d98fd799c3 GSSAPI_DEPRECATED needs to be before the return type 2010-08-20 13:14:11 -04:00
Asanka Herath
5dcc605f6b Fix calling conventions for Windows 2010-08-20 13:14:10 -04:00
Love Hornquist Astrand
1021099f3d rename external so that they can be included in array and struct initializer 2010-07-22 20:47:04 -07:00
Love Hornquist Astrand
aaf310f99e constify 2010-03-23 20:20:51 -07:00
Asanka Herath
b1063ea8fc Initial Windows port 2009-11-24 10:11:14 -08:00
Love Hornquist Astrand
dcf7dc9a93 make oid const 2009-11-22 12:30:37 -08:00
Love Hornquist Astrand
bff407bc9a add context to gss_context_query_attributes() 2009-11-22 12:30:24 -08:00
Love Hornquist Astrand
fa502c6648 Add support for gss_{import,export}_cred() as requested by metze
Works for krb5 and SPNEGO mechanisms. Kerberos credentials are passed as
credential cache names, or if there are memory based credentials, inband in the protocol. This means that the credentials buffers must be keep secret.

As documented by IBM (they have the wrong prototype though)
and GGF (GSS-API Extensions) back in 2001
2009-07-29 13:36:02 +02:00
Love Hornquist Astrand
1dd94e44ba Switch to macros for c++ extern "C" to please editors that want to autoindent 2009-07-23 19:27:34 +02:00
Love Hörnquist Åstrand
57e31f7593 More tests for GSSAPI_DEPRECATED
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-07-16 18:27:37 +00:00
Love Hörnquist Åstrand
c99b2003e2 Implement gss_wrap_iov, gss_unwrap_iov for CFX type encryption types.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-22 17:56:41 +00:00
Love Hörnquist Åstrand
ad9ad11485 add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:25:07 +00:00
Love Hörnquist Åstrand
f4db5edd09 add conf_state to iov_length
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24774 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-22 23:24:39 +00:00
Love Hörnquist Åstrand
aad6eb3ace deprecate sign/seal functions (version 1 of the interface).
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:12:01 +00:00
Love Hörnquist Åstrand
3db06f4f95 add GSS_C_ATTR_STREAM_SIZES
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:11:40 +00:00
Love Hörnquist Åstrand
810b53938d move gss_context_stream_sizes here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 19:11:20 +00:00
Love Hörnquist Åstrand
5ab497d8c0 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:35:07 +00:00
Love Hörnquist Åstrand
a81059aa4c More flags to be compatible with MIT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:34:56 +00:00
Love Hörnquist Åstrand
260b45847b More flags to be compatible with MIT.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24713 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-02-16 18:34:26 +00:00
Love Hörnquist Åstrand
8c4bbe5c5f move NTLM mech to its own file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24539 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-30 16:46:18 +00:00
Love Hörnquist Åstrand
03115167ce no implicit include of mech headers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24380 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-01-25 00:34:39 +00:00
Love Hörnquist Åstrand
63d1d155f2 switch from unsigned int to int for iov_count
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24083 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:55:56 +00:00
Love Hörnquist Åstrand
7f6d448621 implement the new gss_*_iov interfaces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24055 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-12-11 04:49:37 +00:00
Love Hörnquist Åstrand
c3548336ef Drop duplicate gss_inquire_sec_context_by_oid, From Christin Krause.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23879 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-10-08 16:15:24 +00:00
Love Hörnquist Åstrand
6937d41a02 remove trailing whitespace
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898 switch to utf8 encoding of all files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
7a77c27995 add GSS_C_DELEG_POLICY_FLAG = 32768
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23480 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-08-11 09:57:44 +00:00
Love Hörnquist Åstrand
795ee939ea Add declspec for Windows
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23025 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-17 10:01:57 +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
c028345ba0 try to load pseudo_random
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20046 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-01-23 23:41:53 +00:00
Love Hörnquist Åstrand
a9a686862d add ntlm mech oid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@19360 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-12-15 20:02:54 +00:00
Love Hörnquist Åstrand
75ecdd2c1e GSS_KRB5_S_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-11-10 00:39:50 +00:00
Love Hörnquist Åstrand
6e1f80cdef Rename GSS_DIGEST_MECHANISM to GSS_SASL_DIGEST_MD5_MECHANISM
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-19 07:11:14 +00:00
Love Hörnquist Åstrand
98dc7ef77d Add OM_uint64_t.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18413 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-12 08:51:34 +00:00
Love Hörnquist Åstrand
bef2219258 Move krb5 stuff to <gssapi/gssapi_krb5.h>.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 22:36:22 +00:00
Love Hörnquist Åstrand
dc4654ebaf Correct header file inclusion protection.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18331 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:56:42 +00:00
Love Hörnquist Åstrand
2aff36d307 Move the gssapi.h from lib/gssapi/ to lib/gssapi/gssapi/ to please automake.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18329 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-07 20:54:30 +00:00