From 9bac21b52ea5e3615919ab9164edc757127f5f8e Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Sun, 12 Aug 2018 01:09:10 +0200 Subject: [PATCH] Encrypt.c: add warning for when EVP_get_cipherbyname() fails --- src/Mayaqua/Encrypt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Mayaqua/Encrypt.c b/src/Mayaqua/Encrypt.c index 14124233..4ba79970 100644 --- a/src/Mayaqua/Encrypt.c +++ b/src/Mayaqua/Encrypt.c @@ -513,6 +513,7 @@ CIPHER *NewCipher(char *name) c->Cipher = EVP_get_cipherbyname(c->Name); if (c->Cipher == NULL) { + Debug("NewCipher(): Cipher %s not found by EVP_get_cipherbyname().\n", c->Name); FreeCipher(c); return NULL; }