aboutsummaryrefslogtreecommitdiffstats
path: root/src/libtls/tls_prf.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-07-06 09:49:25 +0200
committerMartin Willi <martin@revosec.ch>2012-07-16 14:53:33 +0200
commite7d98b8c9967d53d0244b2d2bd4edeb20df58dcc (patch)
treea17a178e5c981488f8f021dd437ddf345328b9cf /src/libtls/tls_prf.h
parent97b30b93b06e162fd196aebe9f7dc10814e7f3ea (diff)
downloadstrongswan-e7d98b8c9967d53d0244b2d2bd4edeb20df58dcc.tar.bz2
strongswan-e7d98b8c9967d53d0244b2d2bd4edeb20df58dcc.tar.xz
Add a return value to tls_prf_t.set_key()
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.