From a791437e62f6c92bba4ee5ee79c38dfdf2b54fbe Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 18 Aug 2017 12:57:07 +0200 Subject: lib: use casts and be explicit on intentional enumeration use Signed-off-by: Nikos Mavrogiannopoulos --- lib/algorithms.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/algorithms.h') diff --git a/lib/algorithms.h b/lib/algorithms.h index cd2082000d..67902290be 100644 --- a/lib/algorithms.h +++ b/lib/algorithms.h @@ -195,7 +195,7 @@ const cipher_entry_st *cipher_name_to_entry(const char *name); inline static cipher_type_t _gnutls_cipher_type(const cipher_entry_st * e) { if (unlikely(e == NULL)) - return 0; + return CIPHER_AEAD; /* doesn't matter */ return e->type; } -- cgit v1.2.1