mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 15:33:16 +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:
|
||||
|
||||
* 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
|
||||
* gettext : internationalization support
|
||||
* libintl : internationalization support
|
||||
|
@ -21,8 +21,8 @@
|
||||
#ifndef _SSL_Compat_incl_
|
||||
#define _SSL_Compat_incl_
|
||||
|
||||
// OpenSSL < 1.1.0
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
// OpenSSL < 1.1.0 or LibreSSL
|
||||
#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
|
||||
// Equivalent methods
|
||||
#define EVP_MD_CTX_new EVP_MD_CTX_create
|
||||
|
Loading…
Reference in New Issue
Block a user