1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-06 07:44:57 +03:00

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
2018-08-12 12:18:50 +02:00
committed by GitHub
2 changed files with 23 additions and 5 deletions

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;
}