]> granicus.if.org Git - postgresql/commitdiff
Fix build without OpenSSL
authorPeter Eisentraut <peter_e@gmx.net>
Thu, 23 Feb 2012 08:20:25 +0000 (10:20 +0200)
committerPeter Eisentraut <peter_e@gmx.net>
Thu, 23 Feb 2012 08:20:25 +0000 (10:20 +0200)
This is a fixup for commit a445cb92ef5b3a31313ebce30e18cc1d6e0bdecb.

src/backend/libpq/be-secure.c

index f0a38c238a419a3a4e6502ee9e8f333c1aa1dfe9..6b1365c6d3efa944952e4410cf17a2360cbff53f 100644 (file)
 
 #ifdef USE_SSL
 
-char *ssl_cert_file;
-char *ssl_key_file;
-char *ssl_ca_file;
-char *ssl_crl_file;
-
 static DH  *load_dh_file(int keylength);
 static DH  *load_dh_buffer(const char *, size_t);
 static DH  *tmp_dh_cb(SSL *s, int is_export, int keylength);
@@ -93,6 +88,11 @@ static void close_SSL(Port *);
 static const char *SSLerrmessage(void);
 #endif
 
+char *ssl_cert_file;
+char *ssl_key_file;
+char *ssl_ca_file;
+char *ssl_crl_file;
+
 /*
  *     How much data can be sent across a secure connection
  *     (total in both directions) before we require renegotiation.