File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1111 *
1212 *
1313 * IDENTIFICATION
14- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.120 2009/03/28 01:36:11 momjian Exp $
14+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.121 2009/03/28 18:48:55 momjian Exp $
1515 *
1616 * NOTES
1717 *
@@ -98,7 +98,7 @@ static void close_SSL(PGconn *);
9898static char * SSLerrmessage (void );
9999static void SSLerrfree (char * buf );
100100
101- static bool pq_initssllib = true;
101+ static bool pq_init_ssl_lib = true;
102102static SSL_CTX * SSL_context = NULL ;
103103
104104#ifdef ENABLE_THREAD_SAFETY
173173PQinitSSL (int do_init )
174174{
175175#ifdef USE_SSL
176- pq_initssllib = do_init ;
176+ pq_init_ssl_lib = do_init ;
177177#endif
178178}
179179
@@ -840,7 +840,7 @@ init_ssl_system(PGconn *conn)
840840 if (pthread_mutex_lock (& ssl_config_mutex ))
841841 return -1 ;
842842
843- if (pq_initssllib )
843+ if (pq_init_ssl_lib )
844844 {
845845 /*
846846 * If necessary, set up an array to hold locks for OpenSSL. OpenSSL will
@@ -880,7 +880,7 @@ init_ssl_system(PGconn *conn)
880880
881881 if (!SSL_context )
882882 {
883- if (pq_initssllib )
883+ if (pq_init_ssl_lib )
884884 {
885885#if SSLEAY_VERSION_NUMBER >= 0x00907000L
886886 OPENSSL_config (NULL );
@@ -928,7 +928,7 @@ destroy_ssl_system(void)
928928 if (pthread_mutex_lock (& ssl_config_mutex ))
929929 return ;
930930
931- if (pq_initssllib )
931+ if (pq_init_ssl_lib )
932932 {
933933 if (ssl_open_connections > 0 )
934934 -- ssl_open_connections ;
You can’t perform that action at this time.
0 commit comments