diff options
-rw-r--r-- | tests/gc.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/gc.c b/tests/gc.c index 2ba1d784f8..106fb4222c 100644 --- a/tests/gc.c +++ b/tests/gc.c @@ -30,7 +30,6 @@ #include "../lib/gnutls_int.h" #include "../lib/gnutls_hash_int.h" -#include <nettle/pbkdf2.h> #include "../lib/debug.h" static void tls_log_func(int level, const char *str) @@ -82,16 +81,5 @@ void doit(void) } } - pbkdf2_hmac_sha1(8, (unsigned char*)"password", 4711, 4, (unsigned char *)"salt", 16, digest); - if (memcmp(digest, "\x09\xb7\x85\x57\xdd\xf6\x07\x15" - "\x1c\x52\x34\xde\xba\x5c\xdc\x59", 16) == 0) { - if (debug) - success - ("_gnutls_pkcs5_pbkdf2_sha1() OK\n"); - } else { - hexprint(digest, 16); - fail("_gnutls_pkcs5_pbkdf2_sha1() failure\n"); - } - gnutls_global_deinit(); } |