heimdal:kdc: Properly check for unsupported critical FAST options

Decoding a FAST request will only give us the FastOptions flags that are
explicitly declared in the ASN1 source. This meant that the check for
unsupported mandatory options would never succeed, and an unsupported
option would go undetected.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
This commit is contained in:
Joseph Sutton
2021-12-06 14:32:49 +13:00
committed by Luke Howard
parent d2dc61c720
commit 527906c821

View File

@@ -774,6 +774,20 @@ PA-ServerReferralData ::= SEQUENCE {
FastOptions ::= BIT STRING {
reserved(0),
hide-client-names(1),
critical2(2),
critical3(3),
critical4(4),
critical5(5),
critical6(6),
critical7(7),
critical8(8),
critical9(9),
critical10(10),
critical11(11),
critical12(12),
critical13(13),
critical14(14),
critical15(15),
kdc-follow-referrals(16)
}