From c323190572dc63225bfca1f4361804c627be4d7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 25 Mar 2003 11:30:41 +0000 Subject: [PATCH] add another arcfour test git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11907 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/krb5/aes-test.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/krb5/aes-test.c b/lib/krb5/aes-test.c index eb78179de..1174abf0f 100644 --- a/lib/krb5/aes-test.c +++ b/lib/krb5/aes-test.c @@ -192,6 +192,13 @@ struct { ETYPE_ARCFOUR_HMAC_MD5, 16, NULL, "\xac\x8e\x65\x7f\x83\xdf\x82\xbe\xea\x5d\x43\xbd\xaf\x78\x00\xcc" + }, + { + "test", "", -1, + 0, + ETYPE_ARCFOUR_HMAC_MD5, 16, + NULL, + "\x0c\xb6\x94\x88\x05\xf7\x97\xbf\x2a\x82\x80\x79\x73\xb8\x95\x37" } }; @@ -230,8 +237,7 @@ string_to_key_test(krb5_context context) abort(); #ifdef ENABLE_AES - if (keys[i].enctype == ETYPE_AES256_CTS_HMAC_SHA1_96 || - keys[i].enctype == ETYPE_AES256_CTS_HMAC_SHA1_96) { + if (keys[i].pbkdf2) { #ifdef HAVE_OPENSSL PKCS5_PBKDF2_HMAC_SHA1(password.data, password.length,