summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-01-02 23:50:10 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-01-02 23:50:10 +0000
commitdaf66de4a517f8bf23ec8c53cc65c0e5e4c73c32 (patch)
tree3ee6b495ad8bc775e95429867c0a6cbe44267008
parent018b2a63769e5df95120534eb6c949a33c901627 (diff)
downloadnginx-daf66de4a517f8bf23ec8c53cc65c0e5e4c73c32.tar.gz
nginx-daf66de4a517f8bf23ec8c53cc65c0e5e4c73c32.tar.bz2
style fix: scf > sscf
-rw-r--r--src/http/modules/ngx_http_ssl_module.c37
1 files changed, 18 insertions, 19 deletions
diff --git a/src/http/modules/ngx_http_ssl_module.c b/src/http/modules/ngx_http_ssl_module.c
index 2fa421ec0..881404692 100644
--- a/src/http/modules/ngx_http_ssl_module.c
+++ b/src/http/modules/ngx_http_ssl_module.c
@@ -257,35 +257,34 @@ ngx_http_ssl_add_variables(ngx_conf_t *cf)
static void *
ngx_http_ssl_create_srv_conf(ngx_conf_t *cf)
{
- ngx_http_ssl_srv_conf_t *scf;
+ ngx_http_ssl_srv_conf_t *sscf;
- scf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssl_srv_conf_t));
- if (scf == NULL) {
+ sscf = ngx_pcalloc(cf->pool, sizeof(ngx_http_ssl_srv_conf_t));
+ if (sscf == NULL) {
return NGX_CONF_ERROR;
}
/*
* set by ngx_pcalloc():
*
- * scf->protocols = 0;
-
- * scf->certificate.len = 0;
- * scf->certificate.data = NULL;
- * scf->certificate_key.len = 0;
- * scf->certificate_key.data = NULL;
- * scf->client_certificate.len = 0;
- * scf->client_certificate.data = NULL;
- * scf->ciphers.len = 0;
- * scf->ciphers.data = NULL;
+ * sscf->protocols = 0;
+ * sscf->certificate.len = 0;
+ * sscf->certificate.data = NULL;
+ * sscf->certificate_key.len = 0;
+ * sscf->certificate_key.data = NULL;
+ * sscf->client_certificate.len = 0;
+ * sscf->client_certificate.data = NULL;
+ * sscf->ciphers.len = 0;
+ * sscf->ciphers.data = NULL;
*/
- scf->enable = NGX_CONF_UNSET;
- scf->session_timeout = NGX_CONF_UNSET;
- scf->verify = NGX_CONF_UNSET;
- scf->verify_depth = NGX_CONF_UNSET;
- scf->prefer_server_ciphers = NGX_CONF_UNSET;
+ sscf->enable = NGX_CONF_UNSET;
+ sscf->session_timeout = NGX_CONF_UNSET;
+ sscf->verify = NGX_CONF_UNSET;
+ sscf->verify_depth = NGX_CONF_UNSET;
+ sscf->prefer_server_ciphers = NGX_CONF_UNSET;
- return scf;
+ return sscf;
}