Commit 9346c75c authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Add custom extension sanity checks.



Reject attempts to use extensions handled internally.

Add flags to each extension structure to indicate if an extension
has been sent or received. Enforce RFC5246 compliance by rejecting
duplicate extensions and unsolicited extensions and only send a
server extension if we have sent the corresponding client extension.
Reviewed-by: default avatarEmilia Käsper <emilia@openssl.org>
(cherry picked from commit 28ea0a0c)
parent 0a4fe37f
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