[91] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

krb5_is_as_req and ...

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Thu Jan 3 14:30:18 1991

Date: Thu, 3 Jan 91 14:25:15 EST
From: PAU@IBM.COM
To: krb5-testers@ATHENA.MIT.EDU

In page 294 of Marshall Rose's Open Book, it says the tag field of
BER encoding has the format:

Bit 8  7  6  5  4  3  2  1
    class f  number         .

Since the tag for AS_REQ is "APPLICATION 10", its BER tag should be
01001010 (0x4a, primitive) or 01101010 (0x6a, construct). So, should
the test in krb5_is_as_req (include/krb5/asn.1/encode.h) be
"(dat)->data[0] == 0x6a || (dat)->data[0] == 0x4a" rather than
"(dat)->data[0] == 0x6a || (dat)->data[0] == 0x2a" ?

Same situation happens in other "krb5_is_....." .

Regards, Pau-Chen



home help back first fref pref prev next nref lref last post