Remove never defined FEATURE_X509
authordanmosemsft <danmose@microsoft.com>
Wed, 15 Feb 2017 23:38:26 +0000 (15:38 -0800)
committerdanmosemsft <danmose@microsoft.com>
Wed, 15 Feb 2017 23:38:53 +0000 (15:38 -0800)
Commit migrated from https://github.com/dotnet/coreclr/commit/06a1b5cc2f9917dfcac6e1860905338c782555e5

src/coreclr/src/vm/namespace.h
src/coreclr/src/vm/rexcep.h

index 824226b..eff1cc0 100644 (file)
 #define g_PermissionsNS     g_SecurityNS ".Permissions"
 #define g_PrincipalNS       g_SecurityNS ".Principal"
 #define g_PolicyNS          g_SecurityNS ".Policy"
-#ifdef FEATURE_X509
 #define g_CryptographyNS    g_SecurityNS ".Cryptography"
 #define g_X509NS            g_CryptographyNS ".X509Certificates"
-#endif // FEATURE_X509
 
 #define g_SerializationNS   g_RuntimeNS ".Serialization"
 #define g_RemotingNS        g_RuntimeNS ".Remoting"
index d084d42..0417bef 100644 (file)
@@ -146,9 +146,7 @@ DEFINE_EXCEPTION(g_CodeContractsNS,    ContractException,              false,  C
 
 DEFINE_EXCEPTION(g_ReflectionNS,       CustomAttributeFormatException, false,  COR_E_CUSTOMATTRIBUTEFORMAT)
 
-#if defined(FEATURE_X509)
 DEFINE_EXCEPTION(g_CryptographyNS,     CryptographicException,         false,  CORSEC_E_CRYPTO)
-#endif // FEATURE_X509
 
 DEFINE_EXCEPTION(g_SystemNS,           DataMisalignedException,        false,  COR_E_DATAMISALIGNED)