Port ASN1_buf_print() from OpenSSL 1.1.
authorjsing <jsing@openbsd.org>
Thu, 10 Nov 2022 13:09:34 +0000 (13:09 +0000)
committerjsing <jsing@openbsd.org>
Thu, 10 Nov 2022 13:09:34 +0000 (13:09 +0000)
commitf799f30eb9dbbfd59ff6c3f0a13a47294dc286a0
tree194c1866cbc9a3a22c7875220db613e08dab8819
parent461ddc6b40106afab0bdeb7fb186911ada9119ca
Port ASN1_buf_print() from OpenSSL 1.1.

This is needed to print byte array based keys, such as Ed25519 and X25519.

ok beck@ tb@
lib/libcrypto/asn1/asn1.h
lib/libcrypto/asn1/t_pkey.c