CVE-2020-25719 heimdal:kdc: Move fetching krbtgt entry to before enctype selection
commitf170f1eb4989d7f337eed0f45a558fe5231ea367
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Tue, 26 Oct 2021 07:34:44 +0000 (26 20:34 +1300)
committerJule Anger <janger@samba.org>
Tue, 9 Nov 2021 19:45:34 +0000 (9 19:45 +0000)
tree9adb082ce0203856f546d6dcc1da05e2960079c2
parenta5db5c7fa2bdf5c651f77749b4e79c515d164e4f
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