From 42c814fdc12fe5f36cbddf6b51790f8dbd6c5772 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 cb4705998..8ad77b8c3 100644 --- a/library/ssl_tls.c +++ b/library/ssl_tls.c @@ -1042,7 +1042,7 @@ static int ssl_populate_transform( mbedtls_ssl_transform *transform, } /* - * 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