Commit 533814c6 authored by Emilia Kasper's avatar Emilia Kasper
Browse files

Add extra checks for odd-length EC curve lists.



Odd-length lists should be rejected everywhere upon parsing. Nevertheless,
be extra careful and add guards against off-by-one reads.

Also, drive-by replace inexplicable double-negation with an explicit comparison.

Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
parent b32474a4
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