Skip to content

Commit 5bccd24

Browse files
committed
revert change, path of lease surprise
1 parent 476b8df commit 5bccd24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Yubico.YubiKey/src/Yubico/YubiKey/Cryptography/ECPrivateKeyParameters.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ public static ECPrivateKeyParameters CreateFromValue(
135135
D = privateValue.ToArray(),
136136
};
137137

138-
return CreateFromParameters(parameters);
138+
var ecdsa = ECDsa.Create(parameters);
139+
return CreateFromParameters(ecdsa.ExportParameters(true));
139140
}
140141
}
141142
}

0 commit comments

Comments
 (0)