summaryrefslogtreecommitdiff
path: root/src/regress/lib/libcrypto/asn1/asn1_string_to_utf8.c
diff options
context:
space:
mode:
authortb <>2022-05-16 20:51:26 +0000
committertb <>2022-05-16 20:51:26 +0000
commit1d607d2dfce47831be44656db302b0726c09df3a (patch)
tree258e34be4dadd4efc7336bbba7944b9d53dd673e /src/regress/lib/libcrypto/asn1/asn1_string_to_utf8.c
parent9abc80e74f04483b93e6f782b24127d858734020 (diff)
downloadopenbsd-1d607d2dfce47831be44656db302b0726c09df3a.tar.gz
openbsd-1d607d2dfce47831be44656db302b0726c09df3a.tar.bz2
openbsd-1d607d2dfce47831be44656db302b0726c09df3a.zip
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
Diffstat (limited to 'src/regress/lib/libcrypto/asn1/asn1_string_to_utf8.c')
0 files changed, 0 insertions, 0 deletions