aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2004-03-27 03:08:42 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2004-03-27 03:08:42 +0000
commit513bbf40463c762850fe9430a18c5faa03074734 (patch)
treec4550041457370c562bc825a8b440f484c4cede5 /src
parent7820ee24c9b751208b7d84e46c39700623c003af (diff)
downloadpostgresql-513bbf40463c762850fe9430a18c5faa03074734.tar.gz
postgresql-513bbf40463c762850fe9430a18c5faa03074734.zip
Fix brain-dead placement of global variable declaration.
Diffstat (limited to 'src')
-rw-r--r--src/interfaces/libpq/fe-secure.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index c72f5f1032d..83edb06c26e 100644
--- a/src/interfaces/libpq/fe-secure.c
+++ b/src/interfaces/libpq/fe-secure.c
@@ -11,7 +11,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.38 2004/03/24 03:44:59 momjian Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.39 2004/03/27 03:08:42 tgl Exp $
*
* NOTES
* The client *requires* a valid server certificate. Since
@@ -145,6 +145,8 @@ static void SSLerrfree(char *buf);
#endif
#ifdef USE_SSL
+bool pq_initssllib = true;
+
static SSL_CTX *SSL_context = NULL;
#endif
@@ -856,9 +858,7 @@ pq_lockingcallback(int mode, int n, const char *file, int line)
}
}
-bool pq_initssllib = true;
-
-#endif /* ENABLE_THRAD_SAFETY */
+#endif /* ENABLE_THREAD_SAFETY */
static int
init_ssl_system(PGconn *conn)