CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/05/16 14:51:26

Modified files:
        lib/libcrypto/asn1: a_string.c 

Log message:
Clean up and fix ASN1_STRING_to_UTF8()

Instead of using a temporary variable on the stack, we can use the usual
Henson mechanism for allocating the struct. Make the function single exit
and throw an error instead of crashing or leaking if out is NULL or *out
is non-NULL.

tweaks/ok jsing

Reply via email to