From e7d98b8c9967d53d0244b2d2bd4edeb20df58dcc Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Fri, 6 Jul 2012 09:49:25 +0200 Subject: Add a return value to tls_prf_t.set_key() --- src/libtls/tls_prf.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/libtls/tls_prf.h') 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. -- cgit v1.2.3