ipa-kdb: skip verification of PAC full checksum
MIT Kerberos KDC code will do verification of the PAC full checksum buffers, we don't need to process them. This change only applies to newer MIT Kerberos version which have this buffer type defined, hence using #ifdef to protect the use of the define. This should have no functional difference. Related: https://pagure.io/freeipa/issue/9371 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Julien Rische <jrische@redhat.com>
This commit is contained in:
1 parent
d551e853fc
commit
9cdf010ca6
1 file changed
+4
-1
@@ -2367,7 +2367,10 @@ krb5_error_code ipadb_common_verify_pac(krb5_context context,
|
||||
for (i = 0; i < num_buffers; i++) {
|
||||
if (types[i] == KRB5_PAC_SERVER_CHECKSUM ||
|
||||
types[i] == KRB5_PAC_PRIVSVR_CHECKSUM ||
|
||||
types[i] == KRB5_PAC_CLIENT_INFO) {
|
||||
#ifdef KRB5_PAC_FULL_CHECKSUM
|
||||
types[i] == KRB5_PAC_FULL_CHECKSUM ||
|
||||
#endif
|
||||
types[i] == KRB5_PAC_CLIENT_INFO) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user