From: Dmitry Eremin-Solenikov Date: Mon, 24 Jun 2019 21:12:29 +0000 (+0300) Subject: nettle: return true for gnutls_mac_exists(AES-CMAC*) X-Git-Tag: gnutls_3_6_9~20^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=565faef22ed4720eba88dce9a7bd4e8d2fe52dbf;p=thirdparty%2Fgnutls.git nettle: return true for gnutls_mac_exists(AES-CMAC*) Signed-off-by: Dmitry Eremin-Solenikov --- diff --git a/lib/nettle/mac.c b/lib/nettle/mac.c index eac99af561..5e8bcec0a7 100644 --- a/lib/nettle/mac.c +++ b/lib/nettle/mac.c @@ -417,6 +417,8 @@ static int wrap_nettle_mac_exists(gnutls_mac_algorithm_t algo) case GNUTLS_MAC_SHA512: case GNUTLS_MAC_UMAC_96: case GNUTLS_MAC_UMAC_128: + case GNUTLS_MAC_AES_CMAC_128: + case GNUTLS_MAC_AES_CMAC_256: case GNUTLS_MAC_AES_GMAC_128: case GNUTLS_MAC_AES_GMAC_192: case GNUTLS_MAC_AES_GMAC_256: