aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistxlog.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-09-15 22:29:39 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2016-09-15 22:45:08 +0300
commit9895818d5656e3fe775af05df3e2b2cce7346962 (patch)
tree548c3e7c244fd1a88f5b081d3b4ca5ed0b6ab3c5 /src/backend/access/gist/gistxlog.c
parent72ce78162c6c4e52b7a9bb1a2de50daee0a3628e (diff)
downloadpostgresql-9895818d5656e3fe775af05df3e2b2cce7346962.tar.gz
postgresql-9895818d5656e3fe775af05df3e2b2cce7346962.zip
Fix building with LibreSSL.
LibreSSL defines OPENSSL_VERSION_NUMBER to claim that it is version 2.0.0, but it doesn't have the functions added in OpenSSL 1.1.0. Add autoconf checks for the individual functions we need, and stop relying on OPENSSL_VERSION_NUMBER. Backport to 9.5 and 9.6, like the patch that broke this. In the back-branches, there are still a few OPENSSL_VERSION_NUMBER checks left, to check for OpenSSL 0.9.8 or 0.9.7. I left them as they were - LibreSSL has all those functions, so they work as intended. Per buildfarm member curculio. Discussion: <2442.1473957669@sss.pgh.pa.us>
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions