PostgreSQL Source Code
git master
Loading...
Searching...
No Matches
fe-secure-common.h
Go to the documentation of this file.
1
/*-------------------------------------------------------------------------
2
*
3
* fe-secure-common.h
4
*
5
* common implementation-independent SSL support code
6
*
7
* Portions Copyright (c) 1996-2026, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
* IDENTIFICATION
11
* src/interfaces/libpq/fe-secure-common.h
12
*
13
*-------------------------------------------------------------------------
14
*/
15
16
#ifndef FE_SECURE_COMMON_H
17
#define FE_SECURE_COMMON_H
18
19
#include "
libpq-fe.h
"
20
21
extern
int
pq_verify_peer_name_matches_certificate_name
(
PGconn
*
conn
,
22
const
char
*
namedata
,
size_t
namelen,
23
char
**
store_name
);
24
extern
int
pq_verify_peer_name_matches_certificate_ip
(
PGconn
*
conn
,
25
const
unsigned
char
*
ipdata
,
26
size_t
iplen
,
27
char
**
store_name
);
28
extern
bool
pq_verify_peer_name_matches_certificate
(
PGconn
*
conn
);
29
30
#endif
/* FE_SECURE_COMMON_H */
pq_verify_peer_name_matches_certificate_name
int pq_verify_peer_name_matches_certificate_name(PGconn *conn, const char *namedata, size_t namelen, char **store_name)
Definition
fe-secure-common.c:87
pq_verify_peer_name_matches_certificate_ip
int pq_verify_peer_name_matches_certificate_ip(PGconn *conn, const unsigned char *ipdata, size_t iplen, char **store_name)
Definition
fe-secure-common.c:157
pq_verify_peer_name_matches_certificate
bool pq_verify_peer_name_matches_certificate(PGconn *conn)
Definition
fe-secure-common.c:252
libpq-fe.h
fb
static int fb(int x)
Definition
preproc-init.c:92
conn
PGconn * conn
Definition
streamutil.c:52
pg_conn
Definition
libpq-int.h:372
src
interfaces
libpq
fe-secure-common.h
Generated on Sun Feb 1 2026 06:13:17 for PostgreSQL Source Code by
1.9.8