]> git.kaiwu.me - nginx.git/commit
SSL: clear error queue after SSL_CTX_load_verify_locations().
authorMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 17:17:02 +0000 (21:17 +0400)
committerMaxim Dounin <mdounin@mdounin.ru>
Wed, 4 Sep 2013 17:17:02 +0000 (21:17 +0400)
commit3d1e616d0bb9278a0291cc0a2a11178e1c1d9710
treed6bb32600b12e39399dfebde770b7e5a2601f51d
parentf108b28038d519db51f0453217af6f25381e1265
SSL: clear error queue after SSL_CTX_load_verify_locations().

The SSL_CTX_load_verify_locations() may leave errors in the error queue
while returning success (e.g. if there are duplicate certificates in the file
specified), resulting in "ignoring stale global SSL error" alerts later
at runtime.
src/event/ngx_event_openssl.c