Merge PR #638: Interop_OpenVPN.c: convert the cipher name to lowercase prior to calling EVP_get_cipherbyname()

This commit is contained in:
Davide Beatrici authored and GitHub committed 2018-08-12 12:18:50 +02:00
commit 97a9070269
2 files changed
+23 -5

No files matched your search

+1
View File
@@ -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;
}