Formatting

This commit is contained in:
Juliusz Sosinowicz
2019-11-07 11:50:57 +01:00
parent 9be1b4cfd8
commit 0f4a002f4f

View File

@@ -12696,7 +12696,8 @@ int AddSession(WOLFSSL* ssl)
idx = i; idx = i;
break; break;
} }
} else { }
else {
if (XMEMCMP(ssl->arrays->sessionID, SessionCache[row].Sessions[i].sessionID, ID_LEN) == 0) { if (XMEMCMP(ssl->arrays->sessionID, SessionCache[row].Sessions[i].sessionID, ID_LEN) == 0) {
WOLFSSL_MSG("Session already exists. Overwriting."); WOLFSSL_MSG("Session already exists. Overwriting.");
overwrite = 1; overwrite = 1;
@@ -38533,8 +38534,8 @@ long wolfSSL_CTX_ctrl(WOLFSSL_CTX* ctx, int cmd, long opt, void* pt)
} }
} }
#else #else
WOLFSSL_MSG("Session certificates not compiled in"); WOLFSSL_MSG("Session certificates not compiled in");
ret = WOLFSSL_FAILURE; ret = WOLFSSL_FAILURE;
#endif #endif
break; break;
default: default: