diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-23 21:08:34 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2022-11-23 21:08:34 +0700 |
commit | 29a112bef25c63c03da142e665f027f00bd496b0 (patch) | |
tree | f5e2d730f84fc9f720a1e20b6b381c2bdefbee71 /crypto/src/tls/PskIdentity.cs | |
parent | Round 4 modifications to HQC + removed some redundancy (diff) | |
download | BouncyCastle.NET-ed25519-29a112bef25c63c03da142e665f027f00bd496b0.tar.xz |
Use FixedTimeEquals
Diffstat (limited to 'crypto/src/tls/PskIdentity.cs')
-rw-r--r-- | crypto/src/tls/PskIdentity.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/tls/PskIdentity.cs b/crypto/src/tls/PskIdentity.cs index 1887d0af4..2d4a0b0c7 100644 --- a/crypto/src/tls/PskIdentity.cs +++ b/crypto/src/tls/PskIdentity.cs @@ -58,7 +58,7 @@ namespace Org.BouncyCastle.Tls return false; return this.m_obfuscatedTicketAge == that.m_obfuscatedTicketAge - && Arrays.ConstantTimeAreEqual(this.m_identity, that.m_identity); + && Arrays.FixedTimeEquals(this.m_identity, that.m_identity); } public override int GetHashCode() |