summaryrefslogtreecommitdiffhomepage
path: root/src/event/quic/ngx_event_quic_ssl.c
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-02-16 15:45:47 +0300
committerSergey Kandaurov <pluknet@nginx.com>2022-02-16 15:45:47 +0300
commit2526632f7172d46d54dbf9738b497d91b9543f50 (patch)
tree6e1285abd478dda743dd8e49b7ca6360f21f7a62 /src/event/quic/ngx_event_quic_ssl.c
parentcac8623697fadd1a42134ca3af8d0c55c9b755b7 (diff)
downloadnginx-2526632f7172d46d54dbf9738b497d91b9543f50.tar.gz
nginx-2526632f7172d46d54dbf9738b497d91b9543f50.tar.bz2
QUIC: fixed indentation.
Diffstat (limited to 'src/event/quic/ngx_event_quic_ssl.c')
-rw-r--r--src/event/quic/ngx_event_quic_ssl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/event/quic/ngx_event_quic_ssl.c b/src/event/quic/ngx_event_quic_ssl.c
index 006566141..41a0ccff8 100644
--- a/src/event/quic/ngx_event_quic_ssl.c
+++ b/src/event/quic/ngx_event_quic_ssl.c
@@ -212,16 +212,16 @@ ngx_quic_add_handshake_data(ngx_ssl_conn_t *ssl_conn,
#if defined(TLSEXT_TYPE_application_layer_protocol_negotiation)
- SSL_get0_alpn_selected(ssl_conn, &alpn_data, &alpn_len);
+ SSL_get0_alpn_selected(ssl_conn, &alpn_data, &alpn_len);
- if (alpn_len == 0) {
- qc->error = 0x100 + SSL_AD_NO_APPLICATION_PROTOCOL;
- qc->error_reason = "unsupported protocol in ALPN extension";
+ if (alpn_len == 0) {
+ qc->error = 0x100 + SSL_AD_NO_APPLICATION_PROTOCOL;
+ qc->error_reason = "unsupported protocol in ALPN extension";
- ngx_log_error(NGX_LOG_INFO, c->log, 0,
- "quic unsupported protocol in ALPN extension");
- return 0;
- }
+ ngx_log_error(NGX_LOG_INFO, c->log, 0,
+ "quic unsupported protocol in ALPN extension");
+ return 0;
+ }
#endif