aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtls/tls.h')
-rw-r--r--src/libtls/tls.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libtls/tls.h b/src/libtls/tls.h
index 6f55075f0..a426d7618 100644
--- a/src/libtls/tls.h
+++ b/src/libtls/tls.h
@@ -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.