From d5fdb74d9aeb50915feab43f4673f44a1852e002 Mon Sep 17 00:00:00 2001 From: toddouska Date: Fri, 10 Aug 2012 12:40:22 -0700 Subject: [PATCH] fix small build proper --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index 1518c69aa..8456c5839 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -507,6 +507,7 @@ int CyaSSL_SetVersion(CYASSL* ssl, int version) ssl->version = MakeSSLv3(); break; +#ifndef NO_TLS case CYASSL_TLSV1: ssl->version = MakeTLSv1(); break; @@ -518,6 +519,7 @@ int CyaSSL_SetVersion(CYASSL* ssl, int version) case CYASSL_TLSV1_2: ssl->version = MakeTLSv1_2(); break; +#endif default: CYASSL_MSG("Bad function argument");