Before I look at what you've got, have you compared this to the rsa.c file in the apps/ directory of the source distribution?
-Kyle H On Fri, Oct 31, 2008 at 1:13 AM, Michael Simms <[EMAIL PROTECTED]> wrote: > 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 > > http://pastebin.com/m2dc98526 > > Any suggestions gratefully appreciated. > > Michael > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [email protected] > Automated List Manager [EMAIL PROTECTED] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
