attempt to fix with openssl < 1.1.0
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
#include "magiftpd.h"
|
||||
#include "../../src/inih/ini.h"
|
||||
|
||||
#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined (LIBRESSL_VERSION_NUMBER)
|
||||
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
||||
#define EVP_MD_CTX_free EVP_MD_CTX_destroy
|
||||
#endif
|
||||
|
||||
static struct ftpclient **clients;
|
||||
static int client_count = 0;
|
||||
|
||||
|
Reference in New Issue
Block a user