diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-12-05 09:58:55 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2009-12-05 09:58:55 +0200 |
commit | 73d29186d2c962ec53aae56e0d1aeb2cab073628 (patch) | |
tree | adc1eb45eabad38d028873a4f52b7fcd774934eb /tests | |
parent | 8d7fd3776ca104cf92a8ebae05ef7a270bd8e95b (diff) | |
download | gnutls-73d29186d2c962ec53aae56e0d1aeb2cab073628.tar.gz |
Revert "Added plain MD5 hash check and corrected gnutls_hash_fast() usage in openssl.c"
This reverts commit 54486afbfcf3398846d5c20d3094bdb7d0a43ff2.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gc.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/tests/gc.c b/tests/gc.c index 9330ac2fc3..86614ac6a1 100644 --- a/tests/gc.c +++ b/tests/gc.c @@ -42,22 +42,6 @@ doit (void) gnutls_global_init (); err = - _gnutls_hash_fast (GNUTLS_MAC_MD5, NULL, 0, "testtest", 8, digest); - if (err < 0) - fail ("_gnutls_hash_fast(MD5) failed: %d\n", err); - else - { - if (memcmp (digest, "\x05\xa6\x71\xc6\x6a\xef\xea\x12\x4c\xc0\x8b\x76\xea\x6d\x30\xbb", 16) == 0) - success ("HASH: _gnutls_hash_fast(MD5) OK\n"); - else - { - hexprint (digest, 16); - fail ("HASH: _gnutls_hash_fast(MD5) failure\n"); - } - } - - - err = _gnutls_hash_fast (GNUTLS_MAC_MD5, "keykeykey", 9, "abcdefgh", 8, digest); if (err < 0) fail ("_gnutls_hash_fast(MD5) failed: %d\n", err); |