From 0910f32ee3f22ef619742a8992ed8b104ae062ba Mon Sep 17 00:00:00 2001 From: Paul Bakker Date: Thu, 6 Feb 2014 13:41:18 +0100 Subject: [PATCH] Fixed compile warning (in test-ref-configs) --- library/ssl_cli.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/library/ssl_cli.c b/library/ssl_cli.c index bdd2d9502..fe2103b57 100644 --- a/library/ssl_cli.c +++ b/library/ssl_cli.c @@ -236,6 +236,8 @@ static void ssl_write_supported_elliptic_curves_ext( ssl_context *ssl, const ecp_curve_info *info; #if defined(POLARSSL_SSL_SET_CURVES) const ecp_group_id *grp_id; +#else + ((void) ssl); #endif *olen = 0;