postgresql/src/interfaces
Heikki Linnakangas 275bf98601 Clear OpenSSL error queue after failed X509_STORE_load_locations() call.
Leaving the error in the error queue used to be harmless, because the
X509_STORE_load_locations() call used to be the last step in
initialize_SSL(), and we would clear the queue before the next
SSL_connect() call. But previous commit moved things around. The symptom
was that if a CRL file was not found, and one of the subsequent
initialization steps, like loading the client certificate or private key,
failed, we would incorrectly print the "no such file" error message from
the earlier X509_STORE_load_locations() call as the reason.

Backpatch to all supported versions, like the previous patch.
2016-10-07 12:51:52 +03:00
..
ecpg Fix ecpg -? option on Windows, add -V alias for --version. 2016-09-18 13:46:32 +03:00
libpq Clear OpenSSL error queue after failed X509_STORE_load_locations() call. 2016-10-07 12:51:52 +03:00
Makefile Fix parallel make when running make install before make all 2011-03-08 23:52:29 +02:00