Commit ffcdb0e6 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix error paths in ASN1_TIME_to_generalizedtime



We should not write to |out| in error cases, so we should defer doing this
until the "done" block.

Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3002)
parent 3f640ebd
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