Add a return value to tls_prf_t.get_bytes()

This commit is contained in:
Martin Willi
2012-07-16 14:53:33 +02:00
parent edd54734c8
commit 97b30b93b0
3 changed files with 42 additions and 20 deletions
+2 -1
View File
@@ -44,8 +44,9 @@ struct tls_prf_t {
* @param seed seed input value
* @param bytes number of bytes to get
* @param out buffer receiving bytes
* @return TRUE if bytes generated successfully
*/
void (*get_bytes)(tls_prf_t *this, char *label, chunk_t seed,
bool (*get_bytes)(tls_prf_t *this, char *label, chunk_t seed,
size_t bytes, char *out);
/**