Check for overlows and error return from ASN1_object_size() Reviewed-by: Richard Levitte <levitte@openssl.org>