summaryrefslogtreecommitdiff
path: root/lib/algorithms.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/algorithms.h')
-rw-r--r--lib/algorithms.h2
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;
}