1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00
curl/lib/vtls
Jay Satiro 7de2e96535 wolfssl: Support wolfSSL builds missing TLS 1.1
The wolfSSL TLS library defines NO_OLD_TLS in some of their build
configurations and that causes the library to be built without TLS 1.1.
For example if MD5 is explicitly disabled when building wolfSSL then
that defines NO_OLD_TLS and the library is built without TLS 1.1 [1].

Prior to this change attempting to build curl with a wolfSSL that was
built with NO_OLD_TLS would cause a build link error undefined reference
to wolfTLSv1_client_method.

[1]: https://github.com/wolfSSL/wolfssl/blob/v4.5.0-stable/configure.ac#L2366

Bug: https://curl.se/mail/lib-2020-12/0121.html
Reported-by: Julian Montes

Closes https://github.com/curl/curl/pull/6388
2021-01-04 18:00:37 -05:00
..
bearssl.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
bearssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gskit.c curl.se: new home 2020-11-04 23:59:47 +01:00
gskit.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gtls.c curl.se: new home 2020-11-04 23:59:47 +01:00
gtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
keylog.c curl.se: new home 2020-11-04 23:59:47 +01:00
keylog.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.c curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
mbedtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
mesalink.c curl.se: new home 2020-11-04 23:59:47 +01:00
mesalink.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
nss.c curl.se: new home 2020-11-04 23:59:47 +01:00
nssg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
openssl.c failf: remove newline from formatting strings 2020-12-25 23:42:16 +01:00
openssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
schannel_verify.c curl.se: new home 2020-11-04 23:59:47 +01:00
schannel.c schannel: fix "empty expression statement has no effect" 2020-12-29 17:10:47 +01:00
schannel.h curl.se: new home 2020-11-04 23:59:47 +01:00
sectransp.c infof/failf calls: fix format specifiers 2020-11-24 13:18:41 +01:00
sectransp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
vtls.c misc: fix "warning: empty expression statement has no effect" 2020-12-26 23:44:17 +01:00
vtls.h curl.se: new home 2020-11-04 23:59:47 +01:00
wolfssl.c wolfssl: Support wolfSSL builds missing TLS 1.1 2021-01-04 18:00:37 -05:00
wolfssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00