Use X509_get0_pubkey() for opk and remove the EVP_PKEY_free(opk).
authorclaudio <claudio@openbsd.org>
Tue, 18 Jan 2022 16:52:18 +0000 (16:52 +0000)
committerclaudio <claudio@openbsd.org>
Tue, 18 Jan 2022 16:52:18 +0000 (16:52 +0000)
commit00e3cb6a472f77a4a657993f0b6730548c605580
treeea7243e9a62fcb3b4135148f448e2f0a9649cf07
parent4521b8341ecccb29a90b016c5554c0f4827ecec4
Use X509_get0_pubkey() for opk and remove the EVP_PKEY_free(opk).
Suggested by and OK tb@
usr.sbin/rpki-client/cert.c