Skip to content

Commit

Permalink
Update TestData.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
abatishchev authored Jan 25, 2023
1 parent a5ac700 commit 81507c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/JWT.Tests.Common/Models/TestData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Security.Cryptography.X509Certificates;
using JWT.Algorithms;

#if NETSTANDARD2_1 || NET6_0
#if NETSTANDARD2_1 || NET6_0_OR_GREATER
using System.Security.Cryptography;
#endif

Expand Down Expand Up @@ -92,7 +92,7 @@ public class TestDataSystemTextSerializerDecorated
public static readonly X509Certificate2 CertificateWithPublicKeyEcdsa = new X509Certificate2(
Convert.FromBase64String(ServerPublicKeyEcdsa));

#if NETSTANDARD2_1 || NET6_0
#if NETSTANDARD2_1 || NET6_0_OR_GREATER
public static readonly X509Certificate2 CertificateWithPrivateKey = CreateCertificate();

private static X509Certificate2 CreateCertificate()
Expand All @@ -107,4 +107,4 @@ private static X509Certificate2 CreateCertificate()
}
#endif
}
}
}

0 comments on commit 81507c7

Please sign in to comment.