Hello, > Monday, August 14, 2006, 9:48:56 PM, you wrote: > >> printf( "pubmod==%s\n", BN_bn2dec( ca_rsa->n ) ); > >> printf( "pubexp==%s\n", BN_bn2dec( ca_rsa->e ) ); > >> printf( "privexp==%s\n", BN_bn2dec( ca_rsa->d ) ); > > I think that BN_bn2hex() is more portable, readable, ... But you > > should be aware that BN_bn2dec()/BN_bn2hex() allocates memory for > > this printable BN string, so if you will use this in threads you > > will have memory leak. > Thank you for warning me. > Those printouts are for self-debugging only. Besides, I'm on QNX4 - > there are no threads here. This is only information that sometimes, somewhere, may be helpful :-)
Best regards, -- Marek Marcola <[EMAIL PROTECTED]> ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [EMAIL PROTECTED]
