2 writes to LastError
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (2)
1337LastError = -1; 1398LastError = Math.Max(errorDepth, LastError);
8 references to LastError
System.Security.Cryptography (8)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (8)
444if (workingChain.LastError < 0) 456for (int logDepth = 0; logDepth <= workingChain.LastError; logDepth++) 507if (workingChain.LastError >= start) 566Debug.Assert(workingChain.LastError <= start - 1); 567start = workingChain.LastError; 627for (int logDepth = 0; logDepth <= workingChain.LastError; logDepth++) 859workingChain?.LastError >= i ? (ErrorCollection?)workingChain[i] : null; 1398LastError = Math.Max(errorDepth, LastError);