From 513bbf40463c762850fe9430a18c5faa03074734 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Sat, 27 Mar 2004 03:08:42 +0000 Subject: [PATCH] Fix brain-dead placement of global variable declaration. --- src/interfaces/libpq/fe-secure.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c index c72f5f1032..83edb06c26 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) -- 2.40.0