Viktor Dukhovni:
> On Mon, May 11, 2020 at 11:43:41AM -0700, Alexander Vasarab wrote:
> 
> > May 11 11:23:54 vasaconsulting postfix/smtpd[21870]: warning: TLS
> > library problem: error:140E0197:SSL routines:SSL_shutdown:shutdown
> > while in init:../ssl/ssl_lib.c:2086:
> 
> The patch below avoids spurious SSL_ERROR_SSL indications when some
> database library uses OpenSSL for its connections in a manner that
> leaves spurious errors on the error queue.  [ Tsk, tsk, the OP was not
> using "proxymap" for his Postgres tables. ]

Thanks for clearing that up.

+        ERR_clear_error();

And as documented this clears the error queue for the current thread.

        Wietse

Reply via email to