diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-25 09:39:31 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-25 09:46:11 +0200 |
commit | e453cc2741416dc784842b2bba68749556cf0f6f (patch) | |
tree | 7854350915ddb4668cc2eaa559d41c3ee1925870 /src/backend/utils/adt/array_userfuncs.c | |
parent | f5d9698a8400972bd604069a3f15ca33e535ea6e (diff) | |
download | postgresql-e453cc2741416dc784842b2bba68749556cf0f6f.tar.gz postgresql-e453cc2741416dc784842b2bba68749556cf0f6f.zip |
Make Port->ssl_in_use available, even when built with !USE_SSL
Code that check the flag no longer need #ifdef's, which is more convenient.
In particular, makes it easier to write extensions that depend on it.
In the passing, modify sslinfo's ssl_is_used function to check ssl_in_use
instead of the OpenSSL specific 'ssl' pointer. It doesn't make any
difference currently, as sslinfo is only compiled when built with OpenSSL,
but seems cleaner anyway.
Diffstat (limited to 'src/backend/utils/adt/array_userfuncs.c')
0 files changed, 0 insertions, 0 deletions