Merge pull request #6656 from JacobBarthelmeh/sanitizer

conversion warning flagged on Windows test builds
This commit is contained in:
David Garske
2023-07-26 14:48:19 -07:00
committed by GitHub

View File

@ -13763,7 +13763,7 @@ int wolfSSL_GetSessionFromCache(WOLFSSL* ssl, WOLFSSL_SESSION* output)
TlsSessionCacheUnlockRow(row);
/* Attempt to get a write lock */
error = TlsSessionCacheGetAndWrLock(id, &wrSess, &row,
ssl->options.side);
(byte)ssl->options.side);
if (error == 0 && wrSess != NULL) {
EvictSessionFromCache(wrSess);
TlsSessionCacheUnlockRow(row);