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.
This commit is contained in:
Manuel Pégourié-Gonnard 2019-05-20 10:10:17 +02:00
parent 5478e1e5ed
commit 42c814fdc1

View File

@ -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: * Inputs:
* - SSL/TLS minor version * - SSL/TLS minor version