CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]   2017/03/18 06:58:18

Modified files:
        lib/libssl     : t1_enc.c 

Log message:
Currently tls1_PRF() requires that a temporary buffer be provided, that
matches the size of the output buffer. This is used in the case where
there are multiple hashes - tls_P_hash() is called with the temporary
buffer and the result is then xored into the output buffer.

Avoid this by simply using a local buffer in tls_P_hash() and then xoring
the result into the output buffer. Overall this makes the code cleaner
and simplifies all of the tls_PRF() callers.

Similar to BoringSSL.

ok inoguchi@

Reply via email to