mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
Ensure compatibility with LibreSSL
This commit is contained in:
parent
1f02e6341d
commit
566f4e48cf
@ -52,7 +52,7 @@ Dependencies
|
|||||||
EncFS depends on a number of libraries:
|
EncFS depends on a number of libraries:
|
||||||
|
|
||||||
* fuse : the userspace filesystem layer
|
* fuse : the userspace filesystem layer
|
||||||
* openssl : used for cryptographic primitives
|
* openssl or libressl : used for cryptographic primitives
|
||||||
* tinyxml2 : for reading and writing XML configuration files
|
* tinyxml2 : for reading and writing XML configuration files
|
||||||
* gettext : internationalization support
|
* gettext : internationalization support
|
||||||
* libintl : internationalization support
|
* libintl : internationalization support
|
||||||
|
@ -21,8 +21,8 @@
|
|||||||
#ifndef _SSL_Compat_incl_
|
#ifndef _SSL_Compat_incl_
|
||||||
#define _SSL_Compat_incl_
|
#define _SSL_Compat_incl_
|
||||||
|
|
||||||
// OpenSSL < 1.1.0
|
// OpenSSL < 1.1.0 or LibreSSL
|
||||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
|
||||||
// Equivalent methods
|
// Equivalent methods
|
||||||
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
||||||
|
Loading…
Reference in New Issue
Block a user