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
b86a71c8
Commit
b86a71c8
authored
Mar 28, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify variable naming: pq_initssllib -> pq_init_ssl_lib
parent
03877708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
src/interfaces/libpq/fe-secure.c
src/interfaces/libpq/fe-secure.c
+6
-6
No files found.
src/interfaces/libpq/fe-secure.c
View file @
b86a71c8
...
...
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.12
0 2009/03/28 01:36:11
momjian Exp $
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.12
1 2009/03/28 18:48:55
momjian Exp $
*
* NOTES
*
...
...
@@ -98,7 +98,7 @@ static void close_SSL(PGconn *);
static
char
*
SSLerrmessage
(
void
);
static
void
SSLerrfree
(
char
*
buf
);
static
bool
pq_init
ssl
lib
=
true
;
static
bool
pq_init
_ssl_
lib
=
true
;
static
SSL_CTX
*
SSL_context
=
NULL
;
#ifdef ENABLE_THREAD_SAFETY
...
...
@@ -173,7 +173,7 @@ void
PQinitSSL
(
int
do_init
)
{
#ifdef USE_SSL
pq_init
ssl
lib
=
do_init
;
pq_init
_ssl_
lib
=
do_init
;
#endif
}
...
...
@@ -840,7 +840,7 @@ init_ssl_system(PGconn *conn)
if
(
pthread_mutex_lock
(
&
ssl_config_mutex
))
return
-
1
;
if
(
pq_init
ssl
lib
)
if
(
pq_init
_ssl_
lib
)
{
/*
* If necessary, set up an array to hold locks for OpenSSL. OpenSSL will
...
...
@@ -880,7 +880,7 @@ init_ssl_system(PGconn *conn)
if
(
!
SSL_context
)
{
if
(
pq_init
ssl
lib
)
if
(
pq_init
_ssl_
lib
)
{
#if SSLEAY_VERSION_NUMBER >= 0x00907000L
OPENSSL_config
(
NULL
);
...
...
@@ -928,7 +928,7 @@ destroy_ssl_system(void)
if
(
pthread_mutex_lock
(
&
ssl_config_mutex
))
return
;
if
(
pq_init
ssl
lib
)
if
(
pq_init
_ssl_
lib
)
{
if
(
ssl_open_connections
>
0
)
--
ssl_open_connections
;
...
...
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