[cpp-xmltooling] 01/02: Guard EC header.

Scott Cantor cantor.2 at osu.edu
Tue May 1 23:23:06 EDT 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-xmltooling.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-xmltooling.git;a=commit;h=f8b15ad01e21d4fbfbcfd2ce5b2d82cfd9edb9d4

commit f8b15ad01e21d4fbfbcfd2ce5b2d82cfd9edb9d4
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue May 1 23:22:43 2018 -0400

    Guard EC header.
---
 xmltooling/security/impl/ExplicitKeyTrustEngine.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/xmltooling/security/impl/ExplicitKeyTrustEngine.cpp b/xmltooling/security/impl/ExplicitKeyTrustEngine.cpp
index 8ad2de1..936bc10 100644
--- a/xmltooling/security/impl/ExplicitKeyTrustEngine.cpp
+++ b/xmltooling/security/impl/ExplicitKeyTrustEngine.cpp
@@ -42,7 +42,9 @@
 #include <xsec/enc/OpenSSL/OpenSSLCryptoX509.hpp>
 
 #include "security/OpenSSLSecurityHelper.h"
-#include <openssl/ec.h>
+#ifdef XSEC_OPENSSL_HAVE_EC
+# include <openssl/ec.h>
+#endif
 
 using namespace xmlsignature;
 using namespace xmltooling::logging;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list