From 37e994f4a2eea976bb69b140b6d27f0f9fb412ac Mon Sep 17 00:00:00 2001 From: Chris Conlon Date: Thu, 3 May 2012 14:48:45 -0600 Subject: [PATCH] exclude CyaSSL_connect_cert when using NO_CYASSL_CLIENT --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index 705cd2f60..16ceb4583 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -395,6 +395,7 @@ int CyaSSL_CTX_set_group_messages(CYASSL_CTX* ctx) } +#ifndef NO_CYASSL_CLIENT /* connect enough to get peer cert chain */ int CyaSSL_connect_cert(CYASSL* ssl) { @@ -409,6 +410,7 @@ int CyaSSL_connect_cert(CYASSL* ssl) return ret; } +#endif /* trun on handshake group messages for ssl object */