aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2007-10-02 22:01:02 +0000
committerNeil Conway <neilc@samurai.com>2007-10-02 22:01:02 +0000
commitfc470ca334f4c4007a968e66c32b1e2039276dcb (patch)
treec82140e0dbc46cb00cd51fc64c1b4c80527df92a
parentde1172fa069ecaf08097d42be91b720bd34a2c44 (diff)
downloadpostgresql-fc470ca334f4c4007a968e66c32b1e2039276dcb.tar.gz
postgresql-fc470ca334f4c4007a968e66c32b1e2039276dcb.zip
Fix a compiler warning on Win32. Hannes Eder.
-rw-r--r--src/interfaces/libpq/fe-secure.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interfaces/libpq/fe-secure.c b/src/interfaces/libpq/fe-secure.c
index 27e4efa6413..4ab25ac59d1 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.96 2007/10/02 00:25:20 tgl Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.97 2007/10/02 22:01:02 neilc Exp $
*
* NOTES
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
@@ -588,9 +588,9 @@ client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey)
#ifndef WIN32
struct stat buf2;
+ FILE *fp;
#endif
char fnbuf[MAXPGPATH];
- FILE *fp;
BIO *bio;
PGconn *conn = (PGconn *) SSL_get_app_data(ssl);
char sebuf[256];