Am Mo den 18. Jul 2022 um 10:50 schrieb Bernhard Übelacker: > --- encfs-1.9.5.orig/encfs/SSL_Cipher.cpp > +++ encfs-1.9.5/encfs/SSL_Cipher.cpp > @@ -25,6 +25,7 @@ > #include <openssl/evp.h> > #include <openssl/hmac.h> > #include <openssl/ossl_typ.h> > +#include <openssl/provider.h> > #include <openssl/rand.h> > #include <pthread.h> > #include <string> > @@ -355,6 +356,9 @@ inline unsigned char *IVData(const std:: > void initKey(const std::shared_ptr<SSLKey> &key, const EVP_CIPHER > *_blockCipher, > const EVP_CIPHER *_streamCipher, int _keySize) { > Lock lock(key->mutex); > + > + OSSL_PROVIDER_load(NULL, "legacy"); > + > // initialize the cipher context once so that we don't have to do it for > // every block.. > EVP_EncryptInit_ex(key->block_enc, _blockCipher, nullptr, nullptr, > nullptr);
If I read the documentation correct, that will ONLY load the legacy provider. So you have to also load the default provider explicitly. Gruß Klaus -- Klaus Ethgen http://www.ethgen.ch/ pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <kl...@ethgen.ch> Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
signature.asc
Description: PGP signature