Missing guards for xmlsec EC support.
authorScott Cantor <cantor.2@osu.edu>
Tue, 14 Sep 2010 01:42:47 +0000 (01:42 +0000)
committerScott Cantor <cantor.2@osu.edu>
Tue, 14 Sep 2010 01:42:47 +0000 (01:42 +0000)
xmltooling/security/impl/InlineKeyResolver.cpp

index 7dc1126..996de92 100644 (file)
@@ -40,7 +40,9 @@
 #include <xsec/enc/XSECCryptoX509.hpp>
 #include <xsec/enc/XSECCryptoKeyRSA.hpp>
 #include <xsec/enc/XSECCryptoKeyDSA.hpp>
-#include <xsec/enc/XSECCryptoKeyEC.hpp>
+#ifdef XMLTOOLING_XMLSEC_ECC
+# include <xsec/enc/XSECCryptoKeyEC.hpp>
+#endif
 #include <xsec/enc/XSECCryptoException.hpp>
 #include <xsec/framework/XSECException.hpp>