aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)