From bc7c970ca175812c1e51c3c5753593e3222aeb64 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Mon, 17 Feb 2025 09:32:10 +0000 Subject: [PATCH] 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 --- wolfssl/openssl/ssl.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wolfssl/openssl/ssl.h b/wolfssl/openssl/ssl.h index da1616845..0110ff87f 100644 --- a/wolfssl/openssl/ssl.h +++ b/wolfssl/openssl/ssl.h @@ -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) || \