summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-08-10 10:26:52 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-08-10 10:26:52 +0200
commit4b13d8b5f9b7c11aa079a10fba5ecaa5004ab850 (patch)
treef79c0e9f4c394723385d9e2056e73c129881c227 /tests
parent5bd8f838efa1a5ad65d6cbfd1ac9490f054464b7 (diff)
downloadgnutls-4b13d8b5f9b7c11aa079a10fba5ecaa5004ab850.tar.gz
tests: remove test for nettle's pbkdf2; this is tested in nettle
Diffstat (limited to 'tests')
-rw-r--r--tests/gc.c12
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();
}