wolfSSL / wolfssl

The wolfSSL library is a small, fast, portable implementation of TLS/SSL for embedded devices to the cloud. wolfSSL supports up to TLS 1.3 and DTLS 1.3!
https://www.wolfssl.com
GNU General Public License v2.0
2.31k stars 823 forks source link

Fix WOLFSSL_NO_TLS12 build error #7915

Closed embhorn closed 1 month ago

embhorn commented 1 month ago

Description

Fix build error with

./configure --enable-tls13 --disable-tlsv12 --enable-secure-renegotiation --enable-nullcipher CFLAGS="-DNO_WOLFSSL_CLIENT"
make
/usr/bin/ld: src/.libs/libwolfssl_la-ssl.o: in function `wolfSSL_Rehandshake':
ssl.c:(.text+0x568a): undefined reference to `SendHelloRequest'
/usr/bin/ld: src/.libs/libwolfssl.so.42.2.0: hidden symbol `SendHelloRequest' isn't defined
/usr/bin/ld: final link failed: bad value

Fixes zd18539

Testing

Customer confirmed

Checklist

embhorn commented 1 month ago

Added config test here: https://github.com/wolfSSL/testing/pull/775