Skip to content

Commit

Permalink
fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
kllysng committed Sep 18, 2024
1 parent 5d4d8e7 commit a9bd969
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ private static X509SecurityKey CreateX509SecurityKey(JsonWebKeySet webKeySet, in

return new X509SecurityKey(
#if NET9_0_OR_GREATER
X509CertificateLoader.LoadCertificate(Convert.FromBase64String(webKey.X5c[0]));
X509CertificateLoader.LoadCertificate(Convert.FromBase64String(webKey.X5c[0])))
#else
new X509Certificate2(Convert.FromBase64String(webKey.X5c[0])))
#endif
Expand Down

0 comments on commit a9bd969

Please sign in to comment.