diff options
author | Jan Kotas <jkotas@microsoft.com> | 2016-03-13 12:09:22 -0700 |
---|---|---|
committer | Jan Kotas <jkotas@microsoft.com> | 2016-03-13 12:09:22 -0700 |
commit | e73cc0e8b8d04eaa6f49fdd97fdb89f079fb0d07 (patch) | |
tree | dfe508e3ba64482af97249214063c5e73d5c478e /src/vm/pefile.cpp | |
parent | 7f9474cf017a31ed09a0af00ff0988295e46a89b (diff) | |
download | coreclr-e73cc0e8b8d04eaa6f49fdd97fdb89f079fb0d07.tar.gz coreclr-e73cc0e8b8d04eaa6f49fdd97fdb89f079fb0d07.tar.bz2 coreclr-e73cc0e8b8d04eaa6f49fdd97fdb89f079fb0d07.zip |
Remove remaining strongname validation on Windows
CodeCLR always skips strongname validation. Some code for strong name validation was still compiled for Windows, but not for Unix. This change removes the differences between Windows and Unix by never compiling the strong name validation code in.
Diffstat (limited to 'src/vm/pefile.cpp')
-rw-r--r-- | src/vm/pefile.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vm/pefile.cpp b/src/vm/pefile.cpp index 9875e5800d..220a3bbb91 100644 --- a/src/vm/pefile.cpp +++ b/src/vm/pefile.cpp @@ -4344,7 +4344,7 @@ void PEAssembly::VerifyStrongName() #endif // !defined(FEATURE_CORECLR) else { -#if defined(FEATURE_CORECLR) && (!defined(CROSSGEN_COMPILE) || defined(PLATFORM_UNIX)) +#if defined(FEATURE_CORECLR) // Runtime policy on CoreCLR is to skip verification of ALL assemblies m_flags |= PEFILE_SKIP_MODULE_HASH_CHECKS; m_fStrongNameVerified = TRUE; @@ -4397,7 +4397,7 @@ void PEAssembly::VerifyStrongName() #endif } -#endif // FEATURE_CORECLR && (!CROSSGEN_COMPILE || PLATFORM_UNIX) +#endif // FEATURE_CORECLR } m_fStrongNameVerified = TRUE; |