Skip to content

Commit 444ac1c

Browse files
Lauris Kaplinskimrts
authored andcommitted
Increase nonce length to 32 bytes in OCSP validation test
1 parent 7bbe95d commit 444ac1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebEid.Security/Validator/Ocsp/OcspRequestBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ private static void ValidateParameters(CertificateID certificateId)
9494

9595
private void AddNonce(OcspReqGenerator builder)
9696
{
97-
this.Nonce = new byte[8];
97+
this.Nonce = new byte[32];
9898

9999
using (var rndGenerator = RandomNumberGenerator.Create())
100100
{

0 commit comments

Comments
 (0)