fix typos

This commit is contained in:
toddouska
2013-04-29 20:17:43 -07:00
parent 57512c46e8
commit 5104f4ea7a

View File

@@ -3737,7 +3737,7 @@ CYASSL_SESSION* GetSessionClient(CYASSL* ssl, const byte* id, int len)
current = &SessionCache[clSess.serverRow].Sessions[clSess.serverIdx]; current = &SessionCache[clSess.serverRow].Sessions[clSess.serverIdx];
if (XMEMCMP(current->serverID, id, len) == 0) { if (XMEMCMP(current->serverID, id, len) == 0) {
CYASSL_MSG("Found a clientid match"); CYASSL_MSG("Found a serverid match for client");
if (LowResTimer() < (current->bornOn + current->timeout)) { if (LowResTimer() < (current->bornOn + current->timeout)) {
CYASSL_MSG("Session valid"); CYASSL_MSG("Session valid");
ret = current; ret = current;
@@ -3809,7 +3809,7 @@ CYASSL_SESSION* GetSession(CYASSL* ssl, byte* masterSecret)
} }
break; /* no more sessionIDs whether valid or not that match */ break; /* no more sessionIDs whether valid or not that match */
} else { } else {
CYASSL_MSG("SessionID not a match as this idx"); CYASSL_MSG("SessionID not a match at this idx");
} }
} }