Allocate the temporary buffer in tls1_PRF internally.

It's not worth saving the extra mallocs. This is preparation for moving SSLv3
to stateful AEADs; it'll share code TLS's SSL3_ENC_METHOD, but
tls1_generate_key_block is different, so that'll be pulled out into its own

Change-Id: I3f2136600758465c66ce23736041bb47f74efa6d
Reviewed-by: Adam Langley <>
1 file changed