aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_prf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libtls/tls_prf.h')
-rw-r--r--src/libtls/tls_prf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libtls/tls_prf.h b/src/libtls/tls_prf.h
index c78842e74..095eaea3a 100644
--- a/src/libtls/tls_prf.h
+++ b/src/libtls/tls_prf.h
@@ -34,8 +34,9 @@ struct tls_prf_t {
* Set the key of the PRF function.
*
* @param key key to set
+ * @return TRUE if key set successfully
*/
- void (*set_key)(tls_prf_t *this, chunk_t key);
+ bool (*set_key)(tls_prf_t *this, chunk_t key);
/**
* Generate a series of bytes using a label and a seed.