23#include <openssl/ssl.h>
24#include <openssl/err.h>
29#if defined(HAVE_GSSAPI_H)
32#include <gssapi/gssapi.h>
38#if defined(WIN32) && !defined(_MSC_VER)
64#if defined(ENABLE_GSS) | defined(ENABLE_SSPI)
67 gss_buffer_desc outbuf;
187#if defined(ENABLE_GSS) || defined(ENABLE_SSPI)
260"-----BEGIN DH PARAMETERS-----\n\
261MIIBCAKCAQEA///////////JD9qiIWjCNMTGYouA3BzRKQJOCIpnzHQCC76mOxOb\n\
262IlFKCHmONATd75UZs806QxswKwpt8l8UN0/hNW1tUcJF5IW1dmJefsb0TELppjft\n\
263awv/XLb0Brft7jhr+1qJn6WunyQRfEsf5kkoZlHs5Fs9wgB8uKFjvwWY2kg2HFXT\n\
264mmkWP6j9JM9fg2VdI9yjrZYcYvNWIIVSu57VKQdwlpZtZww1Tkq8mATxdGwIyhgh\n\
265fDKQXkYuNs474553LBgOhgObJ4Oi7Aeij7XFXfBvTFLJ3ivL9pVYFxg5lUl86pVq\n\
2665RXSJhiY+gUQFXKOWoqsqmj//////////wIBAg==\n\
267-----END DH PARAMETERS-----\n"
329typedef void (*openssl_tls_init_hook_typ) (SSL_CTX *
context,
bool isServerStart);
bool be_gssapi_get_auth(Port *port)
ssize_t be_gssapi_read(Port *port, void *ptr, size_t len)
ssize_t be_gssapi_write(Port *port, void *ptr, size_t len)
bool be_gssapi_get_enc(Port *port)
const char * be_gssapi_get_princ(Port *port)
bool be_gssapi_get_delegation(Port *port)
const char * be_tls_get_version(Port *port)
void be_tls_destroy(void)
int be_tls_init(bool isServerStart)
openssl_tls_init_hook_typ openssl_tls_init_hook
int be_tls_get_cipher_bits(Port *port)
int be_tls_open_server(Port *port)
char * be_tls_get_certificate_hash(Port *port, size_t *len)
const char * be_tls_get_cipher(Port *port)
void be_tls_get_peer_serial(Port *port, char *ptr, size_t len)
void be_tls_close(Port *port)
void be_tls_get_peer_issuer_name(Port *port, char *ptr, size_t len)
ssize_t be_tls_read(Port *port, void *ptr, size_t len, int *waitfor)
ssize_t be_tls_write(Port *port, void *ptr, size_t len, int *waitfor)
void be_tls_get_peer_subject_name(Port *port, char *ptr, size_t len)
int pq_setkeepalivesinterval(int interval, Port *port)
PGDLLIMPORT ProtocolVersion FrontendProtocol
int pq_getkeepalivescount(Port *port)
int pq_getkeepalivesinterval(Port *port)
int pq_settcpusertimeout(int timeout, Port *port)
int pq_setkeepalivesidle(int idle, Port *port)
int pq_getkeepalivesidle(Port *port)
struct ClientSocket ClientSocket
PGDLLIMPORT ClientConnectionInfo MyClientConnectionInfo
struct ClientConnectionInfo ClientConnectionInfo
int pq_gettcpusertimeout(Port *port)
int pq_setkeepalivescount(int count, Port *port)
int remote_hostname_errcode
int default_keepalives_idle
int default_keepalives_interval
ssize_t raw_buf_remaining
int default_keepalives_count
int remote_hostname_resolv
int default_tcp_user_timeout