Skip to content

Commit e8afd86

Browse files
committed
Drop expectation of BufferKey being equal to ReadKey
Based on @mattcaswell's comments, we can't rely on the Read Key not getting advanced ahead of the write key, and its causing a few test failures on openssl, drop the check here
1 parent 3cc2f54 commit e8afd86

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/platform/unittest/TlsTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,9 +413,9 @@ struct TlsTest : public ::testing::TestWithParam<bool>
413413
_In_ CXPLAT_TLS_DATA_TYPE DataType
414414
)
415415
{
416+
UNREFERENCED_PARAMETER(BufferKey);
416417
EXPECT_TRUE(Buffer != nullptr || *BufferLength == 0);
417418
if (Buffer != nullptr) {
418-
EXPECT_EQ(BufferKey, State.ReadKey);
419419
if (DataType != CXPLAT_TLS_TICKET_DATA) {
420420
*BufferLength = GetCompleteTlsMessagesLength(Buffer, *BufferLength);
421421
if (*BufferLength == 0) return (CXPLAT_TLS_RESULT_FLAGS)0;

0 commit comments

Comments
 (0)