The problem is the following, yes your code (ERR_pop_to_mark/ERR_set_mark) is fine when a child function is adding a new error, however, what happends when it calls ERR_clear_error ? In my implementation I need the error stack to be preserved even if a child function calls ERR_clear_error.
That's why if you happended to remove the "if (!err_fns)" test in ERR_set_implementation, I would be more than happy. Frédéric Giudicelli http://www.newpki.org ----- Original Message ----- From: "Richard Levitte - VMS Whacker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, July 03, 2003 11:46 PM Subject: Re: [openssl.org #629] Custom error handling > In message <[EMAIL PROTECTED]> on Thu, 3 Jul 2003 23:09:05 +0200, Frédéric Giudicelli <[EMAIL PROTECTED]> said: > > groups> As I said earlier, you don't have to implement it, however > groups> that would be nice if you could make the cutsom error handling > groups> code work, which would allow me to implement it. > > I must have missed something. Is there some error in what I > implemented that hasn't been corrected yet? > > I may have missed some mail... > > -- > Richard Levitte \ Tunnlandsvägen 3 \ [EMAIL PROTECTED] > [EMAIL PROTECTED] \ S-168 36 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] > ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]