Commit Graph

21 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
ee09f98c15 Rename local include file, remove global files.
Stop exposing global gssapi symbols.
Rename gss_context_id_t and gss_cred_id_t to local names.
Remove SPNEGO code, its now in its own gssapi module.
Add mechglue inquire functions.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-06-28 08:54:04 +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
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
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
d0443e2058 prefix all sequence symbols with _, they are not part of the GSS-API api. By comment from Wynn Wilkes <wynnw@vintela.com>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14989 ec53bebd-3082-4978-b11e-865c3cabbd6b
2005-04-27 17:51:27 +00:00
Love Hörnquist Åstrand
85d7c792a7 s/CTXAcceptorSubkey/CFXAcceptorSubkey/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13699 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-04-08 08:25:40 +00:00
Love Hörnquist Åstrand
2588cbdf67 enforce AcceptorSubkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13516 ec53bebd-3082-4978-b11e-865c3cabbd6b
2004-03-14 16:11:59 +00:00
Love Hörnquist Åstrand
98136e9e42 make rrc a modulus operation if its longer then the length of the message
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-12 12:32:50 +00:00
Love Hörnquist Åstrand
ab68d05e93 Wrap token was in wrong order, found by Sam Hartman
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13183 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-05 22:44:41 +00:00
Love Hörnquist Åstrand
c5d2778488 add AcceptorSubkey (but no code understand it yet)
ignore unknown token flags


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13181 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-12-04 11:16:38 +00:00
Love Hörnquist Åstrand
00c0fe1ebb fix {} error, pointed out by Liqiang Zhu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13114 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-14 03:11:23 +00:00
Love Hörnquist Åstrand
33b781c6f6 Sequence number should be stored in bigendian order
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-10 15:40:36 +00:00
Love Hörnquist Åstrand
bb7c2ec23c checksum the header last in MIC token, update to -03
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@13082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-11-06 01:27:50 +00:00
Love Hörnquist Åstrand
f5f69fb1ba - EC and RRC are big-endian, not little-endian
- The default is now to rotate regardless of GSS_C_DCE_STYLE. There
  are no longer any references to GSS_C_DCE_STYLE.
- rrc_rotate() avoids allocating memory on the heap if rrc <= 256
From: Luke Howard <lukeh@padl.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-23 10:08:24 +00:00
Love Hörnquist Åstrand
7c533af43a rrc_rotate() was untested and broken, fix it
set and verify wrap Token->Filler
correct token ID for wrap tokens, were accidentally swapped with delete tokens
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-22 21:46:53 +00:00
Love Hörnquist Åstrand
7fa07e336e no ASN.1-ish header on per-message tokens
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-21 17:35:19 +00:00
Love Hörnquist Åstrand
653d7b010b RRC also need to be zero before wraping them
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-05 09:49:22 +00:00
Love Hörnquist Åstrand
6cdb4003eb EC is not included in the checksum since the length might change
depending on the data.
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-09-03 08:36:57 +00:00
Love Hörnquist Åstrand
a67627e780 draft-ietf-krb-wg-gssapi-cfx-01.txt implemetation
From: Luke Howard <lukeh@PADL.COM>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12706 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-30 13:51:41 +00:00
Love Hörnquist Åstrand
9673c61169 prefix cfx symbols with _gssapi_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12692 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-28 10:54:06 +00:00
Love Hörnquist Åstrand
a49e96cc81 Implementation of draft-ietf-krb-wg-gssapi-cfx-00.txt from Luke Howard <lukeh@PADL.COM>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@12647 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-08-26 02:37:09 +00:00