diff --git a/src/Geralt.Tests/SecureMemoryTests.cs b/src/Geralt.Tests/SecureMemoryTests.cs index ceb6a96..906acd5 100644 --- a/src/Geralt.Tests/SecureMemoryTests.cs +++ b/src/Geralt.Tests/SecureMemoryTests.cs @@ -99,7 +99,7 @@ public void LockMemory_UnlockAndZeroMemory_Invalid(int bufferSize) [TestMethod] public void LockMemory_UnlockAndZeroMemory_InvalidOperation() { - var b = new byte[SecureMemory.PageSize * 65536]; + var b = new byte[SecureMemory.PageSize * 131072]; Assert.ThrowsException(() => SecureMemory.LockMemory(b)); // This test fails on Linux/macOS - munlock() must not return an error despite no locking taking place