CVE-2020-25719 heimdal:kdc: Move fetching krbtgt entry to before enctype selection
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 26 Oct 2021 07:34:44 +0000 (20:34 +1300)
committerJule Anger <janger@samba.org>
Mon, 8 Nov 2021 09:52:12 +0000 (10:52 +0100)
commitc493ff06c68e0cec72479a0dac6ca9a571b99d76
treeb61ac9f280c64e61a60a78fc022d68c03839c070
parent73f6a61545577c1a0c6dd03278bc38c46d19a131
CVE-2020-25719 heimdal:kdc: Move fetching krbtgt entry to before enctype selection

This allows us to use it when validating user-to-user.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14873

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/heimdal/kdc/krb5tgs.c