Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
ff5d4cbf
Commit
ff5d4cbf
authored
Sep 26, 2002
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up SSL compiler warnings.
parent
603f6012
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/fe-secure.c
+7
-1
No files found.
src/interfaces/libpq/fe-secure.c
View file @
ff5d4cbf
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.1
4 2002/09/26 04:41:55
momjian Exp $
* $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-secure.c,v 1.1
5 2002/09/26 05:37:58
momjian Exp $
*
* NOTES
* The client *requires* a valid server certificate. Since
...
...
@@ -123,7 +123,9 @@
#ifdef USE_SSL
static
int
verify_cb
(
int
ok
,
X509_STORE_CTX
*
ctx
);
#ifdef NOT_USED
static
int
verify_peer
(
PGconn
*
);
#endif
static
DH
*
load_dh_file
(
int
keylength
);
static
DH
*
load_dh_buffer
(
const
char
*
,
size_t
);
static
DH
*
tmp_dh_cb
(
SSL
*
s
,
int
is_export
,
int
keylength
);
...
...
@@ -362,6 +364,7 @@ verify_cb(int ok, X509_STORE_CTX *ctx)
return
ok
;
}
#ifdef NOT_USED
/*
* Verify that common name resolves to peer.
* This function is not thread-safe due to gethostbyname().
...
...
@@ -448,6 +451,7 @@ verify_peer(PGconn *conn)
return
-
1
;
}
#endif
/*
* Load precomputed DH parameters.
...
...
@@ -777,7 +781,9 @@ destroy_SSL(void)
static
int
open_client_SSL
(
PGconn
*
conn
)
{
#ifdef NOT_USED
int
r
;
#endif
if
(
!
(
conn
->
ssl
=
SSL_new
(
SSL_context
))
||
!
SSL_set_app_data
(
conn
->
ssl
,
conn
)
||
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment