Commit f08731cd 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 f4b87600
Supports Markdown
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