@@ -167,8 +167,8 @@ ngx_http_set_encode_encrypted_session(ngx_http_request_t *r,
167
167
168
168
if (conf -> key == NULL ) {
169
169
ngx_log_error (NGX_LOG_ERR , r -> connection -> log , 0 ,
170
- "encrypted_session: a key is required to be "
171
- "defined by the encrypted_session_key directive" );
170
+ "encrypted_session: a key is required to be "
171
+ "defined by the encrypted_session_key directive" );
172
172
173
173
return NGX_ERROR ;
174
174
}
@@ -238,7 +238,8 @@ ngx_http_set_decode_encrypted_session(ngx_http_request_t *r,
238
238
static char *
239
239
ngx_http_encrypted_session_key (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
240
240
{
241
- ngx_str_t * value ;
241
+ ngx_str_t * value ;
242
+
242
243
ngx_http_encrypted_session_conf_t * llcf = conf ;
243
244
244
245
if (llcf -> key != NGX_CONF_UNSET_PTR ) {
@@ -265,7 +266,8 @@ ngx_http_encrypted_session_key(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
265
266
static char *
266
267
ngx_http_encrypted_session_iv (ngx_conf_t * cf , ngx_command_t * cmd , void * conf )
267
268
{
268
- ngx_str_t * value ;
269
+ ngx_str_t * value ;
270
+
269
271
ngx_http_encrypted_session_conf_t * llcf = conf ;
270
272
271
273
if (llcf -> iv != NGX_CONF_UNSET_PTR ) {
@@ -283,8 +285,7 @@ ngx_http_encrypted_session_iv(ngx_conf_t *cf, ngx_command_t *cmd, void *conf)
283
285
return NGX_CONF_ERROR ;
284
286
}
285
287
286
- llcf -> iv = ngx_pcalloc (cf -> pool ,
287
- ngx_http_encrypted_session_iv_length );
288
+ llcf -> iv = ngx_pcalloc (cf -> pool , ngx_http_encrypted_session_iv_length );
288
289
289
290
if (llcf -> iv == NULL ) {
290
291
return NGX_CONF_ERROR ;
@@ -320,7 +321,7 @@ ngx_http_encrypted_session_expires(ngx_conf_t *cf, ngx_command_t *cmd,
320
321
return "invalid value" ;
321
322
}
322
323
323
- dd ("expires: %d" , (int )llcf -> expires );
324
+ dd ("expires: %d" , (int ) llcf -> expires );
324
325
325
326
return NGX_CONF_OK ;
326
327
}
0 commit comments