From 47e33e11f74d5dac12d51304949aa4d70dcf59d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Mon, 20 May 2019 10:10:17 +0200 Subject: [PATCH] Clarify comment about TLS versions The previous comment used "TLS" as a shortcut for "TLS 1.0/1.1" which was confusing. This partially reflected the names of the calc_verify/finished that go ssl, tls (for 1.0/1.1) tls_shaxxx (for 1.2), but still it's clearer to be explicit in the comment - and perhaps in the long term the function names could be clarified instead. --- library/ssl_tls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ssl_tls.c b/library/ssl_tls.c index 8972a8d72..40f72996f 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -1528,7 +1528,7 @@ end: } /* - * Set appropriate PRF function and other SSL / TLS / TLS1.2 functions + * Set appropriate PRF function and other SSL / TLS 1.0/1.1 / TLS1.2 functions * * Inputs: * - SSL/TLS minor version