]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: ssl: Use consistent naming for TLS protocols
authorBertrand Jacquin <bertrand@jacquin.bzh>
Mon, 13 Aug 2018 23:56:13 +0000 (00:56 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 16 Aug 2018 18:20:26 +0000 (20:20 +0200)
In most cases, "TLSv1.x" naming is used across and documentation, lazy
people tend to grep too much and may not find what they are looking for.

Fixing people is hard.

doc/configuration.txt
src/ssl_sock.c

index d11b6318535dee188088cd518bcb3f3e31e3499d..4e66aad84f8973444a9d1be9e85a71de2cc438f7 100644 (file)
@@ -10541,7 +10541,7 @@ accept-proxy
   setting of which client is allowed to use the protocol.
 
 allow-0rtt
-  Allow receiving early data when using TLS 1.3. This is disabled by default,
+  Allow receiving early data when using TLSv1.3. This is disabled by default,
   due to security considerations.
 
 alpn <protocols>
index 813b599218b578d16ea5647507ad27f37aea7956..5610a41f7f03d8e092a32c703c40d96749d32c5b 100644 (file)
@@ -1996,7 +1996,7 @@ static void ctx_set_TLSv12_func(SSL_CTX *ctx, set_context_func c) {
                : SSL_CTX_set_ssl_version(ctx, TLSv1_2_client_method());
 #endif
 }
-/* TLS 1.2 is the last supported version in this context. */
+/* TLSv1.2 is the last supported version in this context. */
 static void ctx_set_TLSv13_func(SSL_CTX *ctx, set_context_func c) {}
 /* Unusable in this context. */
 static void ssl_set_SSLv3_func(SSL *ssl, set_context_func c) {}
@@ -2197,7 +2197,7 @@ static int ssl_sock_switchctx_cbk(SSL *ssl, int *al, void *arg)
                                break;
                }
        } else {
-               /* without TLSEXT_TYPE_signature_algorithms extension (< TLS 1.2) */
+               /* without TLSEXT_TYPE_signature_algorithms extension (< TLSv1.2) */
                has_rsa = 1;
        }
        if (has_ecdsa_sig) {  /* in very rare case: has ecdsa sign but not a ECDSA cipher */