Because, I could "stub" the default implementation, and if the error
handling has been disabled, then I just don't call the default
implementation function.

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: Friday, July 04, 2003 1:52 PM
Subject: Re: [openssl.org #629] Custom error handling


> In message <[EMAIL PROTECTED]> on Fri, 4 Jul 2003
00:12:24 +0200, Frédéric Giudicelli <[EMAIL PROTECTED]> said:
>
> groups> The problem is the following, yes your code
(ERR_pop_to_mark/ERR_set_mark)
> groups> is fine when a child function is adding a new error, however, what
happends
> groups> when it calls ERR_clear_error ? In my implementation I need the
error stack
> groups> to be preserved even if a child function calls ERR_clear_error.
> groups>
> groups> That's why if you happended to remove the "if (!err_fns)" test in
> groups> ERR_set_implementation, I would be more than happy.
>
> I'm sorry, but in what way does that prevent the error stack to be
> cleared?  Maybe a better thing would be to have a flag that inhibits
> clearing the error stack...  I'll ponder over this issue.
>
> -- 
> 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]

Reply via email to