Author: emaste
Date: Sun Oct 24 01:05:10 2010
New Revision: 214256
URL: http://svn.freebsd.org/changeset/base/214256
Log:
Move variable declarations into the conditional block where they are
used, to fix warning if WITH_SSL is not set.
Submitted by: Sean Bruno
MFC after: 1 week
Modified:
head/lib/libfetch/common.c
Modified: head/lib/libfetch/common.c
==============================================================================
--- head/lib/libfetch/common.c Sat Oct 23 22:28:29 2010 (r214255)
+++ head/lib/libfetch/common.c Sun Oct 24 01:05:10 2010 (r214256)
@@ -321,9 +321,9 @@ fetch_connect(const char *host, int port
int
fetch_ssl(conn_t *conn, int verbose)
{
+#ifdef WITH_SSL
int ret, ssl_err;
-#ifdef WITH_SSL
/* Init the SSL library and context */
if (!SSL_library_init()){
fprintf(stderr, "SSL library init failed\n");
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"