]> granicus.if.org Git - postgresql/commitdiff
Fix a compiler warning on Win32. Hannes Eder.
authorNeil Conway <neilc@samurai.com>
Tue, 2 Oct 2007 22:01:02 +0000 (22:01 +0000)
committerNeil Conway <neilc@samurai.com>
Tue, 2 Oct 2007 22:01:02 +0000 (22:01 +0000)
src/interfaces/libpq/fe-secure.c

index 27e4efa6413f3b7811cbec3d8125bce2ad4dee75..4ab25ac59d1851787dba2236cae24564a3198914 100644 (file)
@@ -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];