I posted this last week, and a couple of people said they could help
but then, I havent heard any more.

If someone has any ideas, they would be gratefully appreciated.

I am having a bit of a problem generating a set of new keys.

I have code that works just fine when using a pair of imported keys
from a file generated from the openssl commandline.

However when I try and use RSA_generate_key, I can obtain the public
and private keypair, they validate using SSL_CTX_check_private_key,
yet, they cause SSL_connect on the client to complain

error:0D07209B:asn1 encoding routines:ASN1_get_object:too long

I have the code for generating the keys up for scrutiny at


Any suggestions gratefully appreciated.
__________________________________________________ ____________________
OpenSSL Project http://www.openssl.org
User Support Mailing List openssl-users@openssl.org
Automated List Manager majordomo@openssl.org