Commit 4336de0c authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Check ASN1_INTEGER_get for errors.



Check return value when calling ASN1_INTEGER_get to retrieve a certificate
serial number. If an error occurs (which will be caused by the value being
out of range) revert to hex dump of serial number.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent c0cf5b84
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