summaryrefslogtreecommitdiff
path: root/lib/gnutls_hash_int.c
diff options
context:
space:
mode:
authorSimon Josefsson <simon@josefsson.org>2007-02-06 12:26:33 +0000
committerSimon Josefsson <simon@josefsson.org>2007-02-06 12:26:33 +0000
commitdaffff6d5dce12400940ed8c4cf482f5204a86a9 (patch)
treed200e37eee67513ec8ac8c2ae7de00b2ba6a22b0 /lib/gnutls_hash_int.c
parenta5397d632f31dff09f33f48f0cfe4f567c1d5b9b (diff)
downloadgnutls-daffff6d5dce12400940ed8c4cf482f5204a86a9.tar.gz
Revert, not needed.
Diffstat (limited to 'lib/gnutls_hash_int.c')
-rw-r--r--lib/gnutls_hash_int.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/gnutls_hash_int.c b/lib/gnutls_hash_int.c
index 91098c4ca1..b3ad98fc24 100644
--- a/lib/gnutls_hash_int.c
+++ b/lib/gnutls_hash_int.c
@@ -95,10 +95,6 @@ _gnutls_hash_get_algo_len (gnutls_mac_algorithm_t algorithm)
ret = gc_hash_digest_length (_gnutls_mac2gc (algorithm));
- /* Handle NULL MAC's. */
- if (ret < 0)
- ret = 0;
-
return ret;
}