}
if ((host == NULL || !host->self) &&
- dir->self_host->last_sync_timestamp != ioloop_time)
+ (time_t)dir->self_host->last_sync_timestamp != ioloop_time)
(void)director_resend_sync(dir);
return TRUE;
}
static int
ssl_proxy_ctx_set_crypto_params(SSL_CTX *ssl_ctx,
- const struct ssl_iostream_settings *set,
- const char **error_r)
+ const struct ssl_iostream_settings *set ATTR_UNUSED,
+ const char **error_r ATTR_UNUSED)
{
#if !defined(OPENSSL_NO_ECDH) && OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x10002000L
EC_KEY *ecdh;
static void ssl_proxy_ctx_set_crypto_params(SSL_CTX *ssl_ctx,
const struct master_service_ssl_settings *set);
+#if !defined(OPENSSL_NO_ECDH) && OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x10002000L
static int ssl_proxy_ctx_get_pkey_ec_curve_name(const struct master_service_ssl_settings *set);
+#endif
static unsigned int ssl_server_context_hash(const struct ssl_server_context *ctx)
{
static void
ssl_proxy_ctx_set_crypto_params(SSL_CTX *ssl_ctx,
- const struct master_service_ssl_settings *set)
+ const struct master_service_ssl_settings *set ATTR_UNUSED)
{
#if !defined(OPENSSL_NO_ECDH) && OPENSSL_VERSION_NUMBER >= 0x10000000L && OPENSSL_VERSION_NUMBER < 0x10002000L
EC_KEY *ecdh;