Revert "make paranoia check less paranoid" - check that key types strictly match
commit36b0d52e939e940f2a594c40ce6570a70bbd5dee
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:51:52 +0000 (10 22:51 +0100)
tree37e7ab61c0808215a16c14188b1bb4988dd31ce3
parentf988bde491bb464167439950ed7b3cc5060d0a00
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