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:25:10 UTC

svn commit: r1350039 - in /santuario/xml-security-cpp/trunk: configure.ac xsec/Makefile.am

Author: scantor
Date: Wed Jun 13 22:25:09 2012
New Revision: 1350039

URL: http://svn.apache.org/viewvc?rev=1350039&view=rev
Log:
Update version and add GCM test.

Modified:
    santuario/xml-security-cpp/trunk/configure.ac
    santuario/xml-security-cpp/trunk/xsec/Makefile.am

Modified: santuario/xml-security-cpp/trunk/configure.ac
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/configure.ac?rev=1350039&r1=1350038&r2=1350039&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/configure.ac (original)
+++ santuario/xml-security-cpp/trunk/configure.ac Wed Jun 13 22:25:09 2012
@@ -17,7 +17,7 @@
 
 # Process this file with autoreconf
 AC_PREREQ(2.50)
-AC_INIT([[XML-Security-C]],[1.6.1],[santuario-dev@apache.org],[xml-security-c])
+AC_INIT([[XML-Security-C]],[1.7.0],[santuario-dev@apache.org],[xml-security-c])
 AC_CONFIG_SRCDIR(xsec)
 AC_CONFIG_AUX_DIR(build-aux)
 AC_CONFIG_MACRO_DIR(m4)
@@ -430,6 +430,12 @@ if test x"$use_openssl" != "xno" ; then
     	AC_DEFINE([XSEC_OPENSSL_HAVE_AES],[1],[Define to 1 if OpenSSL has full AES support.])],
     	[AC_MSG_RESULT([no])])
 
+    AC_MSG_CHECKING([for GCM support])
+    AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <openssl/evp.h>]], [[ EVP_aes_256_gcm();
+    	]])],[AC_MSG_RESULT([yes])
+    	AC_DEFINE([XSEC_OPENSSL_HAVE_GCM],[1],[Define to 1 if OpenSSL has GCM support.])],
+    	[AC_MSG_RESULT([no])])
+
     AC_CHECK_DECL(PKCS1_MGF1,
         [AC_DEFINE([XSEC_OPENSSL_HAVE_MGF1],[1],[Define to 1 if OpenSSL has PKCS1_MGF1 function.])],
         ,[#include <openssl/rsa.h>])

Modified: santuario/xml-security-cpp/trunk/xsec/Makefile.am
URL: http://svn.apache.org/viewvc/santuario/xml-security-cpp/trunk/xsec/Makefile.am?rev=1350039&r1=1350038&r2=1350039&view=diff
==============================================================================
--- santuario/xml-security-cpp/trunk/xsec/Makefile.am (original)
+++ santuario/xml-security-cpp/trunk/xsec/Makefile.am Wed Jun 13 22:25:09 2012
@@ -590,7 +590,7 @@ nss_sources = \
 #
 # Now the library specific build items
 #
-libxml_security_c_la_LDFLAGS = -version-info 16:1:0
+libxml_security_c_la_LDFLAGS = -version-info 17:0:0
 
 install-exec-hook:
 	for la in $(lib_LTLIBRARIES) ; do rm -f $(DESTDIR)$(libdir)/$$la ; done