You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by sc...@apache.org on 2012/06/14 00:29:17 UTC

svn commit: r1350042 - in /santuario/xml-security-cpp/trunk/xsec/framework: XSECConfig.hpp.in XSECW32Config.hpp

Author: scantor
Date: Wed Jun 13 22:29:17 2012
New Revision: 1350042

URL: http://svn.apache.org/viewvc?rev=1350042&view=rev
Log:
Add GCM macro.

Modified:
    santuario/xml-security-cpp/trunk/xsec/framework/XSECConfig.hpp.in
    santuario/xml-security-cpp/trunk/xsec/framework/XSECW32Config.hpp

Modified: santuario/xml-security-cpp/trunk/xsec/framework/XSECConfig.hpp.in
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/framework/XSECConfig.hpp.in?rev=1350042&r1=1350041&r2=1350042&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/framework/XSECConfig.hpp.in (original)
+++ santuario/xml-security-cpp/trunk/xsec/framework/XSECConfig.hpp.in Wed Jun 13 22:29:17 2012
@@ -24,6 +24,9 @@
 /* Define to 1 if OpenSSL has full AES support. */
 #undef XSEC_OPENSSL_HAVE_AES
 
+/* Define to 1 if OpenSSL has GCM support. */
+#undef XSEC_OPENSSL_HAVE_GCM
+
 /* Define to 1 if OpenSSL has CRYPTO_cleanup_all_ex_data. */
 #undef XSEC_OPENSSL_HAVE_CRYPTO_CLEANUP_ALL_EX_DATA
 

Modified: santuario/xml-security-cpp/trunk/xsec/framework/XSECW32Config.hpp
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/framework/XSECW32Config.hpp?rev=1350042&r1=1350041&r2=1350042&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/framework/XSECW32Config.hpp (original)
+++ santuario/xml-security-cpp/trunk/xsec/framework/XSECW32Config.hpp Wed Jun 13 22:29:17 2012
@@ -183,7 +183,6 @@
 
 #	include <openssl/opensslv.h>
 #	if (OPENSSL_VERSION_NUMBER >= 0x00907000)
-
 #		define XSEC_OPENSSL_CONST_BUFFERS
 #		define XSEC_OPENSSL_HAVE_AES
 #       define XSEC_OPENSSL_HAVE_EC
@@ -195,6 +194,9 @@
 #       define XSEC_OPENSSL_HAVE_SHA2
 #       define XSEC_OPENSSL_HAVE_MGF1
 #	endif
+#	if (OPENSSL_VERSION_NUMBER >= 0x10001000)
+#		define XSEC_OPENSSL_HAVE_GCM
+#	endif
 
 #endif