diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-18 12:57:07 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2017-08-18 14:41:26 +0200 |
commit | a791437e62f6c92bba4ee5ee79c38dfdf2b54fbe (patch) | |
tree | 4ae352872d6bb888bdb5e888eb03ade9a791ae36 /lib/algorithms.h | |
parent | 91d88c300104c66ec14bc3d570c2569ff30158ae (diff) | |
download | gnutls-a791437e62f6c92bba4ee5ee79c38dfdf2b54fbe.tar.gz |
lib: use casts and be explicit on intentional enumeration use
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'lib/algorithms.h')
-rw-r--r-- | lib/algorithms.h | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |