Skip to content

Commit 513bbf4

Browse files
committed
Fix brain-dead placement of global variable declaration.
1 parent 7820ee2 commit 513bbf4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/interfaces/libpq/fe-secure.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.38 2004/03/24 03:44:59 momjian Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.39 2004/03/27 03:08:42 tgl Exp $
1515
*
1616
* NOTES
1717
* The client *requires* a valid server certificate. Since
@@ -145,6 +145,8 @@ static void SSLerrfree(char *buf);
145145
#endif
146146

147147
#ifdef USE_SSL
148+
bool pq_initssllib = true;
149+
148150
static SSL_CTX *SSL_context = NULL;
149151
#endif
150152

@@ -856,9 +858,7 @@ pq_lockingcallback(int mode, int n, const char *file, int line)
856858
}
857859
}
858860

859-
bool pq_initssllib = true;
860-
861-
#endif /* ENABLE_THRAD_SAFETY */
861+
#endif /* ENABLE_THREAD_SAFETY */
862862

863863
static int
864864
init_ssl_system(PGconn *conn)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy