aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-10-07 12:53:51 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-10-07 12:53:51 +0300
commite84e4761f7ff83d657852d0d0a363868be715df2 (patch)
treeec4a7d9f8b1e6acccb83c29fdea75215234e5a2f /src/backend/access/gist/gist.c
parente76d06d7f29522285c34324078469e90e51af772 (diff)
downloadpostgresql-e84e4761f7ff83d657852d0d0a363868be715df2.tar.gz
postgresql-e84e4761f7ff83d657852d0d0a363868be715df2.zip
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.
Diffstat (limited to 'src/backend/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions