In message <[EMAIL PROTECTED]> on Fri, 09 Aug 2002 12:32:46 +0200, Jan 
Tschirschwitz <[EMAIL PROTECTED]> said:

Jan.Tschirschwitz> Additional Information:
Jan.Tschirschwitz> 
Jan.Tschirschwitz> I can reproduce the error by including this short
Jan.Tschirschwitz> code into any place of the engine init function:
Jan.Tschirschwitz> 
Jan.Tschirschwitz>      {       RSA *rsa = NULL;
Jan.Tschirschwitz>              rsa = RSA_new();
Jan.Tschirschwitz>              RSA_free(rsa);
Jan.Tschirschwitz>      }
Jan.Tschirschwitz> 
Jan.Tschirschwitz> When I include this code in another engine function
Jan.Tschirschwitz> that is loaded dynamicaly everything works still
Jan.Tschirschwitz> fine. Is there a possibility to run this code in
Jan.Tschirschwitz> the init function correct as well?

No.  The very simple answer is: don't do that.

What happens is that you're attenpting to use the engine before it's
completely set up (and that includes increasing a couple of referens
counters, which happens AFTER your init function), and that's
currently a big booboo.

Now that that is cleared up, I'd like to know why you feel the need to
do RSA operations in the middle of engine initialization?

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-168 35  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to