forked from wolfSSL/wolfssl
Formatting
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user