Skip to content

Commit eaf4f01

Browse files
author
Tuure Vartiainen
committed
style: fixed one oversized line.
1 parent c9678ab commit eaf4f01

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/ngx_http_lua_module.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,8 @@ ngx_http_lua_set_ssl(ngx_conf_t *cf, ngx_http_lua_loc_conf_t *llcf)
13901390
}
13911391

13921392
if (llcf->ssl_psk_identity.len && llcf->ssl_psk_key.len) {
1393-
dd("ssl psk identity: %.*s", (int) llcf->ssl_psk_identity.len, llcf->ssl_psk_identity.data);
1393+
dd("ssl psk identity: %.*s", (int) llcf->ssl_psk_identity.len,
1394+
llcf->ssl_psk_identity.data);
13941395
dd("ssl psk key: %.*s", (int) llcf->ssl_psk_key.len,
13951396
llcf->ssl_psk_key.data);
13961397

src/ngx_http_lua_ssl_pskby.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -435,11 +435,11 @@ unsigned int ngx_http_lua_ssl_psk_client_handler(ngx_ssl_conn_t *ssl_conn,
435435

436436
if (llcf->ssl_psk_identity.len) {
437437
if (llcf->ssl_psk_identity.len <= max_identity_len) {
438-
ngx_snprintf((u_char *) identity, max_identity_len, "%V",
438+
ngx_snprintf((u_char *) identity, max_identity_len, "%V",
439439
&llcf->ssl_psk_identity);
440440
}
441441
else {
442-
ngx_ssl_error(NGX_LOG_ALERT, dc->log, 0,
442+
ngx_ssl_error(NGX_LOG_ALERT, dc->log, 0,
443443
"ssl_psk_identity.len: %i > max_identity_len: %i",
444444
llcf->ssl_psk_identity.len, max_identity_len);
445445
goto failed;

0 commit comments

Comments
 (0)