summaryrefslogtreecommitdiffstats
path: root/src/lib/krb5/asn.1/KRB5-asn.py
diff options
context:
space:
mode:
authorJohn Kohl <jtkohl@mit.edu>1990-12-17 14:36:29 +0000
committerJohn Kohl <jtkohl@mit.edu>1990-12-17 14:36:29 +0000
commitbe259b41d5aaff24096649f70f32a70d6f0fb7c4 (patch)
tree6522a7a964bd9e13215d083d6f736bed0c72bd63 /src/lib/krb5/asn.1/KRB5-asn.py
parentd6730631363847f0f4ac32e55291fcc2dfa0d3ab (diff)
downloadkrb5-be259b41d5aaff24096649f70f32a70d6f0fb7c4.tar.gz
krb5-be259b41d5aaff24096649f70f32a70d6f0fb7c4.tar.xz
krb5-be259b41d5aaff24096649f70f32a70d6f0fb7c4.zip
add comment on variant of data types used for PA-DATA
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1558 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/krb5/asn.1/KRB5-asn.py')
-rw-r--r--src/lib/krb5/asn.1/KRB5-asn.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/krb5/asn.1/KRB5-asn.py b/src/lib/krb5/asn.1/KRB5-asn.py
index c0fc1a4f91..e6a6e2a247 100644
--- a/src/lib/krb5/asn.1/KRB5-asn.py
+++ b/src/lib/krb5/asn.1/KRB5-asn.py
@@ -126,6 +126,14 @@ TGS-REQ ::= [APPLICATION 12] SEQUENCE {
-- the preceding two sequences MUST be the same except for the
-- APPLICATION identifier
+-- Note that the RFC specifies that PA-DATA is just a SEQUENCE, and when
+-- it appears in the messages, it's a SEQUENCE OF PA-DATA.
+-- However, this has an identical encoding to the data defined here,
+-- which has PA-DATA as SEQUENCE OF SEQUENCE, and the messages use a
+-- straight PA-DATA. This has the advantage (at least under ISODE) of
+-- giving a "known" name to the PA-DATA array, making it more easily
+-- manipulated by "glue code".
+
PA-DATA ::= SEQUENCE OF SEQUENCE {
padata-type[1] INTEGER,
pa-data[2] OCTET STRING -- might be encoded AP-REQ