Skip to content
Commit fcb61b6c authored by Matt Caswell's avatar Matt Caswell
Browse files

Add sanity check to PRF



The function tls1_PRF counts the number of digests in use and partitions
security evenly between them. There always needs to be at least one digest
in use, otherwise this is an internal error. Add a sanity check for this.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(cherry picked from commit 668f6f08)
parent b2b81639
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment