https://bz.apache.org/bugzilla/show_bug.cgi?id=67609

--- Comment #6 from Michael Osipov <micha...@apache.org> ---
(In reply to Christopher Schultz from comment #5)
> It may just be a coincidence, but in this case (cannot load cert; file
> permission error), Tomcat detects the important error (permission error) and
> reports it to the client.

Well, it does not only apply to the cert loading issue, but to any OpenSSL
function which might return with an error.

> Would it be enough to simply clear the error queue any time we consult it?
> Just... discard the remaining errors in the queue? Otherwise, we'd have to
> grab all the error codes (and strings?) and return what amounts to a
> compound exception to the caller. It's doable, of course, but ugly.

As far as I understand the documentation you must clear the queue if you aren't
going to consume it completely. Grabbing everything like in mod_ssl is, of
course, the best option not to miss something.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to