Add a return value to tls_prf_t.set_key()
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user