Related: #2028781 - Protocol : TLSv1.3 missing in rhel9
- fix typo in preprocesor macro if -> ifdef
This commit is contained in:
parent
43d5c51691
commit
24ddaef1c3
@ -90,7 +90,7 @@ index f813458..2e6a6c0 100644
|
|||||||
+
|
+
|
||||||
+ /* Now, we have to scan for minimal protocol version,
|
+ /* Now, we have to scan for minimal protocol version,
|
||||||
+ *without allowing holes between min and max*/
|
+ *without allowing holes between min and max*/
|
||||||
+#if SSL_OP_NO_TLSv1_3
|
+#ifdef SSL_OP_NO_TLSv1_3
|
||||||
+ if ((prot == TLS1_3_VERSION) && (protocols & NGX_SSL_TLSv1_2)) {
|
+ if ((prot == TLS1_3_VERSION) && (protocols & NGX_SSL_TLSv1_2)) {
|
||||||
+ prot = TLS1_2_VERSION;
|
+ prot = TLS1_2_VERSION;
|
||||||
+ }
|
+ }
|
||||||
|
Loading…
Reference in New Issue
Block a user