From 54f9353df0d29412371851cf931af3b85896cc88 Mon Sep 17 00:00:00 2001 From: Yann Ylavic Date: Wed, 30 Apr 2014 17:15:07 +0000 Subject: [PATCH] mod_ssl: follow up to r1583191. Use type BOOL for modssl_ctx_t's field ocsp_use_request_nonce. Suggested by: kbrand. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1591401 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ssl/ssl_engine_config.c | 3 +-- modules/ssl/ssl_private.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/modules/ssl/ssl_engine_config.c b/modules/ssl/ssl_engine_config.c index 9862df7a08..55366ed30d 100644 --- a/modules/ssl/ssl_engine_config.c +++ b/modules/ssl/ssl_engine_config.c @@ -1611,8 +1611,7 @@ const char *ssl_cmd_SSLOCSPUseRequestNonce(cmd_parms *cmd, void *dcfg, int flag) { SSLSrvConfigRec *sc = mySrvConfig(cmd->server); - sc->server->ocsp_use_request_nonce = flag ? SSL_ENABLED_TRUE - : SSL_ENABLED_FALSE; + sc->server->ocsp_use_request_nonce = flag ? TRUE : FALSE; return NULL; } diff --git a/modules/ssl/ssl_private.h b/modules/ssl/ssl_private.h index e19ec1ca3b..797e0f47ec 100644 --- a/modules/ssl/ssl_private.h +++ b/modules/ssl/ssl_private.h @@ -610,7 +610,7 @@ typedef struct { long ocsp_resptime_skew; long ocsp_resp_maxage; apr_interval_time_t ocsp_responder_timeout; - int ocsp_use_request_nonce; + BOOL ocsp_use_request_nonce; #ifdef HAVE_SSL_CONF_CMD SSL_CONF_CTX *ssl_ctx_config; /* Configuration context */ -- 2.40.0