[botan-devel] PEM_encode and ECDH_PrivateKey

Jack Lloyd lloyd at randombit.net
Fri Feb 3 16:18:10 EST 2012


On Fri, Feb 03, 2012 at 01:04:25PM -0800, Sean Cassidy wrote:

> It looks like this isn't the only thing necessary if you use the
> 1.3.132.1.12 OID. As make_private_key actually needs to call the
> ECDH_PrivateKey constructor, this needs to be added to make load_key
> function properly. Attached is a patch if you decide to go the
> 1.3.132.1.12 OID route. Works on 1.10.1 and latest mtn sources.

Ah, sorry about missing that. I've applied the pk_algs portion of the
patch. I'm still contemplating the OID issue. :)

-Jack



More information about the botan-devel mailing list