express: Fix build with older OpenSSL versions
This commit is contained in:
parent
b7fb4af197
commit
97b3c18960
|
|
@ -28,6 +28,11 @@
|
|||
|
||||
#include "openSSLWrapper.h"
|
||||
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
#define EVP_MD_CTX_new() EVP_MD_CTX_create()
|
||||
#define EVP_MD_CTX_free(ctx) EVP_MD_CTX_destroy(ctx)
|
||||
#endif
|
||||
|
||||
using std::streamoff;
|
||||
using std::streampos;
|
||||
using std::streamsize;
|
||||
|
|
|
|||
Loading…
Reference in New Issue