You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see many deprecation notices when compiling against openssl 3. Would it be possible to resolve these in the future or should I configure/compile it differently?
Using Amazon Linux 2023 with:
OpenSSL 3.0.8
g++ (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Libraries used: idn2 2.3.2, Readline 8.1, zlib 1.2.11
warnings pointing to MD5 and SHA1:
In file included from ../lib/md5.h:27,
from HttpAuth.cc:22:
/usr/include/openssl/md5.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int MD5_Final(unsigned char *md, MD5_CTX *c);
In file included from ../lib/sha1.h:26,
from Torrent.cc:31:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
In file included from ../lib/sha1.h:26,
from DHT.cc:31:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
In file included from ../lib/sha1.h:26,
from DHT.cc:31:
/usr/include/openssl/sha.h:50:27: note: declared here
50 | OSSL_DEPRECATEDIN_3_0 int SHA1_Update(SHA_CTX *c, const void *data, size_t len);
In file included from ../lib/sha1.h:26,
from Torrent.cc:31:
/usr/include/openssl/sha.h:51:27: note: declared here
51 | OSSL_DEPRECATEDIN_3_0 int SHA1_Final(unsigned char *md, SHA_CTX *c);
I also notice that in comparison to building lftp with gnutls, the versions used to build lftp differs. Considering that they where built on the same host I'd expect them to be the same:
my configure command is: ./configure --enable-threads=isoc+posix --with-modules --with-linux-crypto --with-openssl --with-openssl=/usr/lib64/
also the openssl build does not use libssl library, I only see libcrypto. This seems to be true for builds using openssl 1.1.1 on Rocky 8 as well. Also the openssl build does not seem to build in expat.
What is confusing is that I can use my build to connect to FTPS servers without the certificate error I get when it is compiled with gnutls.
I see many deprecation notices when compiling against openssl 3. Would it be possible to resolve these in the future or should I configure/compile it differently?
Using Amazon Linux 2023 with:
OpenSSL 3.0.8
g++ (GCC) 11.4.1 20230605 (Red Hat 11.4.1-2)
Libraries used: idn2 2.3.2, Readline 8.1, zlib 1.2.11
warnings pointing to MD5 and SHA1:
Here is the full log:
lftp_compile.log
The text was updated successfully, but these errors were encountered: