Add missing OpenSSL TLSEXT status response codes

These constants are required for OCSP response handling in the OpenSSL
compatibility layer when building with --enable-opensslcoexist.

Co-Authored-By: marco@wolfssl.com <marco@wolfssl.com>
This commit is contained in:
Devin AI
2025-02-17 09:32:10 +00:00
parent 79744a7736
commit bc7c970ca1

View File

@ -115,6 +115,11 @@
#define WOLFSSL_TLSEXT_STATUSTYPE_ocsp 1
/* OpenSSL TLSEXT status response codes */
#define SSL_TLSEXT_ERR_OK 0
#define SSL_TLSEXT_ERR_ALERT_FATAL 1
#define SSL_TLSEXT_ERR_NOACK 2
#if defined(WOLFSSL_NGINX) || defined(WOLFSSL_HAPROXY) || \
defined(WOLFSSL_MYSQL_COMPATIBLE) || defined(OPENSSL_EXTRA) || \
defined(HAVE_LIGHTY) || defined(HAVE_STUNNEL) || \