tech-crypto archive

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

Final(?) Heimdal -fshort-enums patch

I just realised that this patch, which is required to make Heimdal work
with -fshort-enums, is still lying around my tree.  The basic problem is
that a couple of pieces of code require that 0x8003 be a valid value of a
CKSUMTYPE.  This makes that so.  Any problem with it?

Index: lib/asn1/k5.asn1
RCS file: /cvsroot/basesrc/crypto/dist/heimdal/lib/asn1/k5.asn1,v
retrieving revision
diff -u -r1.1.1.4 k5.asn1
--- lib/asn1/k5.asn1    2001/06/19 22:08:14
+++ lib/asn1/k5.asn1    2002/03/18 18:35:39
@@ -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