Verify negotiated TLS version

This commit is contained in:
Martin Willi
2010-08-23 09:47:03 +02:00
parent 3c19b3461f
commit f154e30431
4 changed files with 27 additions and 8 deletions
+2 -1
View File
@@ -146,8 +146,9 @@ struct tls_t {
* Set the negotiated TLS/SSL version.
*
* @param version negotiated TLS version
* @return TRUE if version acceptable
*/
void (*set_version)(tls_t *this, tls_version_t version);
bool (*set_version)(tls_t *this, tls_version_t version);
/**
* Get the purpose of this TLS stack instance.