From aebd926472df9d6c79bb14b5dd0175d45633da19 Mon Sep 17 00:00:00 2001 From: toddouska Date: Mon, 29 Apr 2013 14:52:28 -0700 Subject: [PATCH] better endif ids --- src/ssl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ssl.c b/src/ssl.c index c7012b776..23f72808e 100644 --- a/src/ssl.c +++ b/src/ssl.c @@ -2673,7 +2673,7 @@ int CyaSSL_SetServerID(CYASSL* ssl, const byte* id, int len) return SSL_SUCCESS; } -#endif +#endif /* NO_CLIENT_CACHE */ #if defined(PERSIST_SESSION_CACHE) @@ -3854,7 +3854,7 @@ int AddSession(CYASSL* ssl) SessionCache[row].Sessions[idx].version = ssl->version; SessionCache[row].Sessions[idx].cipherSuite0 = ssl->options.cipherSuite0; SessionCache[row].Sessions[idx].cipherSuite = ssl->options.cipherSuite; -#endif +#endif /* SESSION_CERTS */ SessionCache[row].totalCount++; if (SessionCache[row].nextIdx == SESSIONS_PER_ROW) @@ -3883,7 +3883,7 @@ int AddSession(CYASSL* ssl) } else SessionCache[row].Sessions[idx].idLen = 0; -#endif +#endif /* NO_CLIENT_CACHE */ if (UnLockMutex(&session_mutex) != 0) return BAD_MUTEX_ERROR;