diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-07-04 08:28:54 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-07-04 08:28:54 +0300 |
commit | e8dda21218a0bcb5363490a35e2cfed798421f2c (patch) | |
tree | 480eadc22fc15a54a862d359cff2e4a133e902f7 /crypto | |
parent | 928aefd7779593961beca41376dd829c26d58de5 (diff) | |
download | accel-ppp-e8dda21218a0bcb5363490a35e2cfed798421f2c.tar.gz accel-ppp-e8dda21218a0bcb5363490a35e2cfed798421f2c.zip |
support for openssl-1.1
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/crypto.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/crypto.h b/crypto/crypto.h index 3fbc3282..9e2e8401 100644 --- a/crypto/crypto.h +++ b/crypto/crypto.h @@ -7,7 +7,12 @@ #include <openssl/md5.h> #include <openssl/sha.h> #include <openssl/des.h> +#include <openssl/evp.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 #else #ifdef CRYPTO_TOMCRYPT |