From 2655bbcba6982bd87dc4a36abb85a7a5a7b217fe Mon Sep 17 00:00:00 2001 From: Uri Simchoni Date: Thu, 5 May 2016 23:40:22 +0300 Subject: [PATCH] heimdal: POC for bug 11900 Make sure a KVNO that fits within 32 bit ends up encoded in 4 bytes. Signed-off-by: Uri Simchoni --- source4/heimdal/lib/asn1/krb5.asn1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/heimdal/lib/asn1/krb5.asn1 b/source4/heimdal/lib/asn1/krb5.asn1 index f3ae6bba..c2f40c0 100644 --- a/source4/heimdal/lib/asn1/krb5.asn1 +++ b/source4/heimdal/lib/asn1/krb5.asn1 @@ -360,7 +360,7 @@ LastReq ::= SEQUENCE OF SEQUENCE { EncryptedData ::= SEQUENCE { etype[0] ENCTYPE, -- EncryptionType - kvno[1] krb5uint32 OPTIONAL, + kvno[1] krb5int32 OPTIONAL, cipher[2] OCTET STRING -- ciphertext } -- 2.5.5