summaryrefslogtreecommitdiff
path: root/src/strongname
diff options
context:
space:
mode:
Diffstat (limited to 'src/strongname')
-rw-r--r--src/strongname/api/strongname.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/strongname/api/strongname.cpp b/src/strongname/api/strongname.cpp
index 00b115698c..2562f4c796 100644
--- a/src/strongname/api/strongname.cpp
+++ b/src/strongname/api/strongname.cpp
@@ -906,14 +906,8 @@ SNAPI StrongNameGetPublicKeyEx (LPCWSTR wszKeyContainer, // [in] desired ke
0, 0, &hKey))
goto Error;
} else {
-#if !defined(FEATURE_CORESYSTEM)
- // Else fetch the signature key pair from the container.
- if (!CryptGetUserKey(hProv, g_uKeySpec, &hKey))
- goto Error;
-#else // FEATURE_CORESYSTEM
SetLastError(E_NOTIMPL);
goto Error;
-#endif // !FEATURE_CORESYSTEM
}
// Determine the length of the public key part as a blob.