Revert "make paranoia check less paranoid" - check that key types strictly match
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 01:29:01 +0000 (12:29 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 12 Jan 2012 08:43:07 +0000 (09:43 +0100)
commitbd164acb8237b4913f01c4c690b65a65e69ac551
treeee9d8b9e51ee8f5ea3ce0539a3e8c087db04b92e
parent3628f34aa3b6036a267a0bc586a3f9433b58b9b9
Revert "make paranoia check less paranoid" - check that key types strictly match

This reverts commit c25af51232616061bb08eea86aae595b4f029490 because
otherwise we could attempt to check a CKSUMTYPE_HMAC_SHA1_96_AES_256 key with a
KRB5_ENCTYPE_ARCFOUR_HMAC_MD5 key.

Andrew Bartlett

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Thu Jan 12 09:43:07 CET 2012 on sn-devel-104
source4/heimdal/lib/krb5/crypto.c