Passing preallocated keys to d2i_RSAPublicKey() does not work anymore
authorbluhm <bluhm@openbsd.org>
Wed, 30 Nov 2022 10:40:23 +0000 (10:40 +0000)
committerbluhm <bluhm@openbsd.org>
Wed, 30 Nov 2022 10:40:23 +0000 (10:40 +0000)
commit6d8d4e25cc10a460dc0dc2aacef07cd4f3754c2b
treef6ea5e785a063c94290190cf5a15443871c79662
parenta9ce15ade9d0c7682cf871a98a7a4751e8d0cf76
Passing preallocated keys to d2i_RSAPublicKey() does not work anymore
with LibreSSL.  This caused a crash in isakmpd with libkeynote.
Better pass NULL and let libcrypto do the allocation.
from markus@; OK tb@
lib/libkeynote/signature.c