]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Avoid verbose logging
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 16 Dec 2013 09:05:16 +0000 (10:05 +0100)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Mon, 16 Dec 2013 09:05:16 +0000 (10:05 +0100)
lib/nettle/mac.c

index 7b75cd4d7f05a515f3091724bd6a7e2b2059e5be..cfa37e34798dc0fe6ac332cd6835beade1b71893 100644 (file)
@@ -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);