summaryrefslogtreecommitdiff
path: root/lib/gnutls_hash_int.c
diff options
context:
space:
mode:
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;
}