Subject: Final(?) Heimdal -fshort-enums patch
To: None <tech-crypto@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: tech-crypto
Date: 03/18/2002 18:45:50
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 1.1.1.4
diff -u -r1.1.1.4 k5.asn1
--- lib/asn1/k5.asn1 2001/06/19 22:08:14 1.1.1.4
+++ lib/asn1/k5.asn1 2002/03/18 18:35:39
@@ -74,7 +74,8 @@
CKSUMTYPE_HMAC_SHA1_DES3(12),
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)
}
--enctypes
--
Ben Harris <bjh21@netbsd.org>
Portmaster, NetBSD/arm26 <URL:http://www.netbsd.org/Ports/arm26/>