make the ca_pubkey_serialize() code similar to the private key code, and
authormarkus <markus@openbsd.org>
Mon, 5 May 2014 18:54:17 +0000 (18:54 +0000)
committermarkus <markus@openbsd.org>
Mon, 5 May 2014 18:54:17 +0000 (18:54 +0000)
commitbc6eebbd874230ac10af91aa4889bed825ff126a
treeb04c11dad5b1ad068f79fd4f11a4554273c28a10
parent3f3558dc779e518c0f4899f55b7551557e8e7820
make the ca_pubkey_serialize() code similar to the private key code, and
fixes a leak of the rsa object in the error case. from hshoexer@; ok reyk@
sbin/iked/ca.c