From b9ea72f9bbb0ef21b61e10f3e26b34129be1d85b Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 1 Mar 2017 13:46:43 +0100 Subject: gnutls-cli: print the ciphers, MACs and KXs when priority string is given Signed-off-by: Nikos Mavrogiannopoulos --- lib/hash_int.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/hash_int.c') diff --git a/lib/hash_int.c b/lib/hash_int.c index efcbf9093f..024b41a6bb 100644 --- a/lib/hash_int.c +++ b/lib/hash_int.c @@ -174,6 +174,10 @@ int _gnutls_mac_exists(gnutls_mac_algorithm_t algo) { const gnutls_crypto_mac_st *cc = NULL; + /* exceptionally it exists, as it is not a real MAC */ + if (algo == GNUTLS_MAC_AEAD) + return 1; + cc = _gnutls_get_crypto_mac(algo); if (cc != NULL) return 1; -- cgit v1.2.1