Add a return value to tls_prf_t.set_key()

This commit is contained in:
Martin Willi
2012-07-16 14:53:33 +02:00
parent 97b30b93b0
commit e7d98b8c99
3 changed files with 13 additions and 9 deletions
+2 -1
View File
@@ -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.