This fixes CVE-2020-36242 (buffer overflows caused by integer overflow in OpenSSL). Signed-off-by: Jeffery To <jeffery.to@gmail.com>