diff src/event/quic/ngx_event_quic_ssl.c @ 9015:a2fbae359828 quic

QUIC: fixed indentation.
author Sergey Kandaurov <pluknet@nginx.com>
date Wed, 16 Feb 2022 15:45:47 +0300
parents b5656025ddb5
children f2925c80401c
line wrap: on
line diff
--- 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
 
 #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