Revert "make paranoia check less paranoid" - check that key types strictly match
commit7a89f14aa5d1cc2d6b751cd8812c16d72a543d4f
authorAndrew Bartlett <abartlet@samba.org>
Thu, 15 Dec 2011 01:29:01 +0000 (15 12:29 +1100)
committerLove Hornquist Astrand <lha@h5l.org>
Tue, 10 Jan 2012 21:54:16 +0000 (10 22:54 +0100)
treea3ff8b780e6b1d672b2ca5a6ac01f6ccb5cfd056
parentcdc04ce0ffdd6b3d3d3104de7388714bae84e7a9
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

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
lib/krb5/crypto.c