Skip to content

Commit

Permalink
fix runtime error on netstandard20
Browse files Browse the repository at this point in the history
  • Loading branch information
romanett committed Oct 24, 2024
1 parent 44a18d0 commit 815e5c0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Stack/Opc.Ua.Core/Security/Certificates/Nonce.cs
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,10 @@ private static Nonce CreateNonceForCurve448()
/// <param name="context"></param>
protected Nonce(SerializationInfo info, StreamingContext context)
{
#if ECC_SUPPORT
var curveName = info.GetString("CurveName");

#if ECC_SUPPORT

if (curveName != null)
{
var ecParams = new ECParameters {
Expand Down

0 comments on commit 815e5c0

Please sign in to comment.