tech-crypto archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Another krb5 enum fix

In heimdal/lib/gssapi/8003.c::gssapi_krb5_create_8003_checksum, the value
0x8003 is assigned to a CKSUMTYPE, which is an enum which doesn't include
0x8003 as one of its enumerators.  This enum is generated by asn1_compile,
so this patch adds an appropriate-looking value to the relevant source
file.  Does this seem sensible?

Index: k5.asn1
RCS file: /cvsroot/basesrc/crypto/dist/heimdal/lib/asn1/k5.asn1,v
retrieving revision
diff -u -u -r1.1.1.4 k5.asn1
--- k5.asn1     2001/06/19 22:08:14
+++ k5.asn1     2002/02/11 22:30:46
@@ -74,7 +74,8 @@
        CKSUMTYPE_SHA1(1000),           -- correct value? 10 (9 also)
        CKSUMTYPE_HMAC_MD5(-138),       -- unofficial microsoft number
-       CKSUMTYPE_HMAC_MD5_ENC(-1138)   -- even more unofficial
+       CKSUMTYPE_HMAC_MD5_ENC(-1138),  -- even more unofficial
+       CKSUMTYPE_8003(0x8003)


Ben Harris                                                   
Portmaster, NetBSD/arm26               <URL:>

Home | Main Index | Thread Index | Old Index