From ad334923fc7134c3b234914e1240b8ed9f02dcfc Mon Sep 17 00:00:00 2001 From: Alex4414 Date: Fri, 6 Dec 2024 01:17:38 +0300 Subject: [PATCH] fix wrong arguments order in CrlCacheExpired call Arguments nextUpdate and verificationTime should be passed in different order --- .../Security/Cryptography/X509Certificates/OpenSslCrlCache.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslCrlCache.cs b/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslCrlCache.cs index 52b6b967c0640..494e5db0d5305 100644 --- a/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslCrlCache.cs +++ b/src/libraries/System.Security.Cryptography/src/System/Security/Cryptography/X509Certificates/OpenSslCrlCache.cs @@ -171,7 +171,7 @@ private static bool AddCachedCrlCore(string crlFile, SafeX509StoreHandle store, { if (OpenSslX509ChainEventSource.Log.IsEnabled()) { - OpenSslX509ChainEventSource.Log.CrlCacheExpired(nextUpdate, verificationTime); + OpenSslX509ChainEventSource.Log.CrlCacheExpired(verificationTime, nextUpdate); } return false;