Don't bother test with testing weak enctypes if not supported in library

This commit is contained in:
Love Hornquist Astrand
2009-08-18 15:56:29 +02:00
parent 4afb61a24a
commit 1215f80622

View File

@@ -123,9 +123,11 @@ main(int argc, char **argv)
int i, optidx = 0;
krb5_enctype enctypes[] = {
#ifdef HEIM_WEAK_CRYPTO
ETYPE_DES_CBC_CRC,
ETYPE_DES_CBC_MD4,
ETYPE_DES_CBC_MD5,
#endif
ETYPE_DES3_CBC_SHA1,
ETYPE_ARCFOUR_HMAC_MD5,
ETYPE_AES128_CTS_HMAC_SHA1_96,