Indent and make NegTokenInit and NegTokenResp extendable.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@21403 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2007-07-04 08:13:12 +00:00
parent d6b2870acc
commit 3f6884c4c5

View File

@@ -33,10 +33,10 @@ NegTokenInit ::= SEQUENCE {
mechTypes [0] MechTypeList, mechTypes [0] MechTypeList,
reqFlags [1] ContextFlags OPTIONAL, reqFlags [1] ContextFlags OPTIONAL,
mechToken [2] OCTET STRING OPTIONAL, mechToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL mechListMIC [3] OCTET STRING OPTIONAL,
...
} }
-- NB: negResult is not OPTIONAL in the new SPNEGO spec but -- NB: negResult is not OPTIONAL in the new SPNEGO spec but
-- Windows clients do not always send it -- Windows clients do not always send it
NegTokenResp ::= SEQUENCE { NegTokenResp ::= SEQUENCE {
@@ -47,7 +47,8 @@ NegTokenResp ::= SEQUENCE {
request-mic (3) } OPTIONAL, request-mic (3) } OPTIONAL,
supportedMech [1] MechType OPTIONAL, supportedMech [1] MechType OPTIONAL,
responseToken [2] OCTET STRING OPTIONAL, responseToken [2] OCTET STRING OPTIONAL,
mechListMIC [3] OCTET STRING OPTIONAL mechListMIC [3] OCTET STRING OPTIONAL,
...
} }
NegotiationToken ::= CHOICE { NegotiationToken ::= CHOICE {