Allow OCSP stapling and NO_WOLFSSL_CLIENT to coexist.

This commit is contained in:
Hayden Roche
2020-12-15 10:39:22 -06:00
parent eb6473b00f
commit c47b98bca1

View File

@ -2018,8 +2018,8 @@ struct WOLFSSL_CERT_MANAGER {
byte ocspSendNonce:1; /* send the OCSP nonce ? */ byte ocspSendNonce:1; /* send the OCSP nonce ? */
byte ocspUseOverrideURL:1; /* ignore cert responder, override */ byte ocspUseOverrideURL:1; /* ignore cert responder, override */
byte ocspStaplingEnabled:1; /* is OCSP Stapling on ? */ byte ocspStaplingEnabled:1; /* is OCSP Stapling on ? */
#if !defined(NO_WOLFSSL_CLIENT) && (defined(HAVE_CERTIFICATE_STATUS_REQUEST) \ #if defined(HAVE_CERTIFICATE_STATUS_REQUEST) \
|| defined(HAVE_CERTIFICATE_STATUS_REQUEST_V2)) || defined(HAVE_CERTIFICATE_STATUS_REQUEST_V2)
byte ocspMustStaple:1; /* server must respond with staple */ byte ocspMustStaple:1; /* server must respond with staple */
#endif #endif