summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bf817ce)
raw | patch | inline | side by side (parent: bf817ce)
author | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 21:33:42 +0000 (23:33 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Sat, 25 Apr 2009 21:33:42 +0000 (23:33 +0200) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index cc482150ef3f0896599dfdb35f0f1e8697f988e4..67a7c3c57b5db7e9059b5769520c34b9dcb8f1e0 100644 (file)
--- a/src/network.c
+++ b/src/network.c
return (0);
} /* }}} int network_config_set_ttl */
+#if HAVE_LIBGCRYPT
static int network_config_set_string (const oconfig_item_t *ci, /* {{{ */
char **ret_string)
{
return (0);
} /* }}} int network_config_set_string */
+#endif /* HAVE_LIBGCRYPT */
#if HAVE_LIBGCRYPT
static int network_config_set_security_level (oconfig_item_t *ci, /* {{{ */
}
}
+#if HAVE_LIBGCRYPT
if ((se->data.server.security_level > SECURITY_LEVEL_NONE)
&& (se->data.server.auth_file == NULL))
{
sockent_destroy (se);
return (-1);
}
+#endif /* HAVE_LIBGCRYPT */
status = sockent_open (se);
if (status != 0)
}
}
+#if HAVE_LIBGCRYPT
if ((se->data.client.security_level > SECURITY_LEVEL_NONE)
&& ((se->data.client.username == NULL)
|| (se->data.client.password == NULL)))
sockent_destroy (se);
return (-1);
}
+#endif /* HAVE_LIBGCRYPT */
status = sockent_open (se);
if (status != 0)