summaryrefslogtreecommitdiff
path: root/lib/nettle/mac.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2013-12-16 10:05:16 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2013-12-16 10:05:16 +0100
commitb486fc3e5d7c81cf9c07acdec7fde5ccf04909e0 (patch)
treedebfd01407a66330af82e5475eb2a4dfbd16dc0d /lib/nettle/mac.c
parent41d286f1f977900c9ef7ccccaeb76a0ccf8fe4fa (diff)
downloadgnutls-b486fc3e5d7c81cf9c07acdec7fde5ccf04909e0.tar.gz
Avoid verbose logging
Diffstat (limited to 'lib/nettle/mac.c')
-rw-r--r--lib/nettle/mac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nettle/mac.c b/lib/nettle/mac.c
index 7b75cd4d7f..cfa37e3479 100644
--- a/lib/nettle/mac.c
+++ b/lib/nettle/mac.c
@@ -257,7 +257,7 @@ wrap_nettle_mac_set_nonce(void *_ctx, const void *nonce, size_t noncelen)
struct nettle_mac_ctx *ctx = _ctx;
if (ctx->set_nonce == NULL)
- return gnutls_assert_val(GNUTLS_E_INVALID_REQUEST);
+ return GNUTLS_E_INVALID_REQUEST;
ctx->set_nonce(ctx->ctx_ptr, noncelen, nonce);