From 99dbb0103fdadc80b303d7f417f90b08e2478dc0 Mon Sep 17 00:00:00 2001 From: Kevin Jones Date: Fri, 27 Mar 2020 16:03:35 -0400 Subject: [PATCH] Fix build break. --- .../src/System/Security/Cryptography/ECDiffieHellmanCng.cs | 5 +++++ .../src/System/Security/Cryptography/ECDsaCng.cs | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDiffieHellmanCng.cs b/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDiffieHellmanCng.cs index a06ccd3800e27..60b8059296f36 100644 --- a/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDiffieHellmanCng.cs +++ b/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDiffieHellmanCng.cs @@ -166,6 +166,11 @@ private void ImportKeyBlob(byte[] ecfullKeyBlob, string curveName, bool includeP Key = ECCng.ImportKeyBlob(ecfullKeyBlob, curveName, includePrivateParameters); } + private void ImportLimitedPrivateKeyBlob(in ECParameters ecParams) + { + throw new PlatformNotSupportedException(); + } + private byte[] ExportKeyBlob(bool includePrivateParameters) { return ECCng.ExportKeyBlob(Key, includePrivateParameters); diff --git a/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDsaCng.cs b/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDsaCng.cs index f34da3301443b..83a86106fda04 100644 --- a/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDsaCng.cs +++ b/src/libraries/System.Security.Cryptography.Cng/src/System/Security/Cryptography/ECDsaCng.cs @@ -87,6 +87,11 @@ private void ImportKeyBlob(byte[] ecfullKeyBlob, string curveName, bool includeP Key = ECCng.ImportKeyBlob(ecfullKeyBlob, curveName, includePrivateParameters); } + private void ImportLimitedPrivateKeyBlob(in ECParameters ecParams) + { + throw new PlatformNotSupportedException(); + } + private byte[] ExportKeyBlob(bool includePrivateParameters) { return ECCng.ExportKeyBlob(Key, includePrivateParameters);