Hello community, here is the log from the commit of package xmlsec1 for openSUSE:Factory checked in at 2020-06-22 17:43:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/xmlsec1 (Old) and /work/SRC/openSUSE:Factory/.xmlsec1.new.2956 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "xmlsec1" Mon Jun 22 17:43:26 2020 rev:13 rq:815741 version:1.2.30 Changes: -------- --- /work/SRC/openSUSE:Factory/xmlsec1/xmlsec1.changes 2019-04-30 12:55:56.390218302 +0200 +++ /work/SRC/openSUSE:Factory/.xmlsec1.new.2956/xmlsec1.changes 2020-06-22 17:43:40.885418896 +0200 @@ -1,0 +2,8 @@ +Thu Jun 18 12:10:34 UTC 2020 - Tomáš Chvátal <tchva...@suse.com> + +- Update to 1.2.30: + * Enabled XML_PARSE_HUGE for all xml parsers. + * Various build and tests fixes and improvements. + * Move remaining private header files away from xmlsec/include/ folder. + +------------------------------------------------------------------- Old: ---- xmlsec1-1.2.28.tar.gz New: ---- xmlsec1-1.2.30.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ xmlsec1.spec ++++++ --- /var/tmp/diff_new_pack.CXmkt3/_old 2020-06-22 17:43:41.745421657 +0200 +++ /var/tmp/diff_new_pack.CXmkt3/_new 2020-06-22 17:43:41.749421670 +0200 @@ -1,7 +1,7 @@ # # spec file for package xmlsec1 # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -22,12 +22,11 @@ %global libgnutls libxmlsec1-gnutls1 %global libnss libxmlsec1-nss1 Name: xmlsec1 -Version: 1.2.28 +Version: 1.2.30 Release: 0 Summary: Library providing support for "XML Signature" and "XML Encryption" standards License: MIT -Group: Productivity/Security -URL: http://www.aleksey.com/xmlsec/ +URL: https://www.aleksey.com/xmlsec/ Source0: http://www.aleksey.com/xmlsec/download/xmlsec1-%{version}.tar.gz Source99: xmlsec1-rpmlintrc BuildRequires: libgcrypt-devel @@ -50,7 +49,6 @@ %package -n %{libname} Summary: Library providing support for "XML Signature" and "XML Encryption" standards -Group: System/Libraries %description -n %{libname} XML Security Library is a C library based on LibXML2 and OpenSSL. @@ -59,7 +57,6 @@ %package -n %{libgcrypt} Summary: GCrypt crypto plugin for XML Security Library -Group: System/Libraries Requires: %{libname} = %{version} %description -n %{libgcrypt} @@ -68,7 +65,6 @@ %package -n %{libgnutls} Summary: GNUTls crypto plugin for XML Security Library -Group: System/Libraries Requires: %{libname} = %{version} %description -n %{libgnutls} @@ -77,7 +73,6 @@ %package -n %{libnss} Summary: NSS crypto plugin for XML Security Library -Group: System/Libraries Requires: %{libname} = %{version} %description -n %{libnss} @@ -86,7 +81,6 @@ %package -n %{libopenssl} Summary: OpenSSL crypto plugin for XML Security Library -Group: System/Libraries Requires: %{libname} = %{version} %description -n %{libopenssl} @@ -95,7 +89,6 @@ %package devel Summary: Libraries, includes for XML Signatures/Encryption -Group: Development/Libraries/C and C++ Requires: %{libname} = %{version} Requires: libxml2-devel >= 2.6.0 Requires: libxslt-devel >= 1.1.0 @@ -108,7 +101,6 @@ %package openssl-devel Summary: OpenSSL crypto plugin for XML Security Library -Group: Development/Libraries/C and C++ Requires: %{libopenssl} = %{version} Requires: %{name}-devel = %{version} @@ -117,7 +109,6 @@ %package gcrypt-devel Summary: GCrypt crypto plugin for XML Security Library -Group: Development/Libraries/C and C++ Requires: %{libgcrypt} = %{version} Requires: %{name}-devel = %{version} @@ -126,7 +117,6 @@ %package gnutls-devel Summary: GNUTls crypto plugin for XML Security Library -Group: Development/Libraries/C and C++ Requires: %{libgnutls} = %{version} Requires: %{name}-devel = %{version} Requires: %{name}-openssl-devel = %{version} @@ -138,7 +128,6 @@ %package nss-devel Summary: NSS crypto plugin for XML Security Library -Group: Development/Libraries/C and C++ Requires: %{libnss} = %{version} Requires: %{name}-devel = %{version} Requires: mozilla-nspr-devel @@ -154,7 +143,7 @@ %configure \ --disable-static \ --disable-silent-rules -make %{?_smp_mflags} +%make_build %install %make_install @@ -166,7 +155,7 @@ rmdir %{buildroot}%{_datadir}/doc/xmlsec1 %check -make %{?_smp_mflags} check check-keys check-dsig check-enc +%make_build -j1 check check-keys check-dsig check-enc %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig @@ -216,9 +205,7 @@ %{_bindir}/xmlsec1-config %dir %{_includedir}/xmlsec1 %dir %{_includedir}/xmlsec1/xmlsec -%dir %{_includedir}/xmlsec1/xmlsec/private %{_includedir}/xmlsec1/xmlsec/*.h -%{_includedir}/xmlsec1/xmlsec/private/*.h %{_libdir}/libxmlsec1.so %{_libdir}/pkgconfig/xmlsec1.pc %{_libdir}/xmlsec1Conf.sh ++++++ xmlsec1-1.2.28.tar.gz -> xmlsec1-1.2.30.tar.gz ++++++ ++++ 2135 lines of diff (skipped) ++++ retrying with extended exclude list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/README new/xmlsec1-1.2.30/README --- old/xmlsec1-1.2.28/README 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/README 2020-04-20 20:30:32.000000000 +0200 @@ -4,18 +4,18 @@ XMLSec library provides C based implementation for major XML Security standards: - * XML Signature Syntax and Processing - http://www.w3.org/TR/xmldsig-core + * XML Signature Syntax and Processing + https://www.w3.org/TR/xmldsig-core * XML Encryption Syntax and Processing - http://www.w3.org/TR/xmlenc-core/ + https://www.w3.org/TR/xmlenc-core/ XMLSec is based on well known LibXML (http://xmlsoft.org), LibXSLT -(http://xmlsoft.org/XSLT) and OpenSSL (http://www.openssl.org) libraries. +(http://xmlsoft.org/XSLT) and OpenSSL (https://www.openssl.org) libraries. XMLSec library documentation is available here: -http://www.aleksey.com/xmlsec/ +https://www.aleksey.com/xmlsec/ This code is released under the MIT Licence see the Copyright file. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/configure.ac new/xmlsec1-1.2.30/configure.ac --- old/xmlsec1-1.2.28/configure.ac 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/configure.ac 2020-04-20 20:30:32.000000000 +0200 @@ -1,10 +1,10 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([xmlsec1],[1.2.28],[http://www.aleksey.com/xmlsec]) +AC_INIT([xmlsec1],[1.2.30],[http://www.aleksey.com/xmlsec]) XMLSEC_PACKAGE=xmlsec1 XMLSEC_VERSION_MAJOR=1 XMLSEC_VERSION_MINOR=2 -XMLSEC_VERSION_SUBMINOR=28 +XMLSEC_VERSION_SUBMINOR=30 XMLSEC_VERSION="$XMLSEC_VERSION_MAJOR.$XMLSEC_VERSION_MINOR.$XMLSEC_VERSION_SUBMINOR" XMLSEC_VERSION_INFO=`echo $XMLSEC_VERSION | awk -F. '{ printf "%d:%d:%d", $1+$2, $3, $2 }'` XMLSEC_VERSION_SAFE=`echo $XMLSEC_VERSION | sed 's/\./_/g'` @@ -276,7 +276,8 @@ LIBXML_INCLUDE_DIR="$COMMON_INCLUDE_DIR /usr/include/libxml2 /usr/local/include/libxml2 /usr/local/libxml2/include" LIBXML_LIB_DIR="$COMMON_LIB_DIR /usr/local/libxml2/lib" LIBXML_INCLUDE_MARKER="libxml/xmlversion.h" -LIBXML_LIB_MARKER="libxml2$shrext" +LIBXML_SHARED_LIB_MARKER="libxml2$shrext" +LIBXML_STATIC_LIB_MARKER="libxml2.$libext" LIBXML_LIBS_LIST="-lxml2" LIBXML_CONFIG="xml2-config" @@ -295,13 +296,13 @@ dnl Priority 1: User specifies the path to source code if test "z$LIBXML_FOUND" = "zno" -a "z$with_libxml_src" != "z" -a "z$with_libxml_src" != "zyes" ; then AC_MSG_CHECKING(for libxml2 library source tree in "$with_libxml_src" folder) - if test -f "$with_libxml_src/include/$LIBXML_INCLUDE_MARKER" -a -f "$with_libxml_src/.libs/$LIBXML_LIB_MARKER" ; then + if test [ -f "$with_libxml_src/include/$LIBXML_INCLUDE_MARKER" ] -a [ -f "$with_libxml_src/.libs/$LIBXML_SHARED_LIB_MARKER" -o -f "$with_libxml_src/.libs/$LIBXML_STATIC_LIB_MARKER"] ; then LIBXML_INCLUDE_PATH="$with_libxml_src/include" LIBXML_LIB_PATH="$with_libxml_src/.libs" LIBXML_FOUND="yes" AC_MSG_RESULT([yes]) else - AC_MSG_ERROR([not found: "$with_libxml_src/include/$LIBXML_INCLUDE_MARKER" or "$with_libxml_src/.libs/$LIBXML_LIB_MARKER" files don't exist), typo?]) + AC_MSG_ERROR([not found: "$with_libxml_src/include/$LIBXML_INCLUDE_MARKER" or "$with_libxml_src/.libs/$LIBXML_SHARED_LIB_MARKER" or "$with_libxml_src/.libs/$LIBXML_STATIC_LIB_MARKER" files don't exist), typo?]) fi fi @@ -312,13 +313,13 @@ LIBXML_CONFIG_PATH="$with_libxml/bin/$LIBXML_CONFIG" LIBXML_FOUND="yes" AC_MSG_RESULT([yes]) - elif test -f "$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER" -a -f "$with_libxml/lib/$LIBXML_LIB_MARKER" ; then + elif test [ -f "$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER" ] -a [ -f "$with_libxml/lib/$LIBXML_SHARED_LIB_MARKER" -o -f "$with_libxml/lib/$LIBXML_STATIC_LIB_MARKER" ] ; then LIBXML_INCLUDE_PATH="$with_libxml/include/libxml2" LIBXSLT_LIB_PATH="$with_libxml/lib" LIBXML_FOUND="yes" AC_MSG_RESULT([yes]) else - AC_MSG_ERROR([not found: "$with_libxml/bin/$LIBXML_CONFIG" tool, or "$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER" and/or "$with_libxml/lib/$LIBXML_LIB_MARKER" files don't exist), typo?]) + AC_MSG_ERROR([not found: "$with_libxml/bin/$LIBXML_CONFIG" tool, or "$with_libxml/include/libxml2/$LIBXML_INCLUDE_MARKER" and/or "$with_libxml/lib/$LIBXML_SHARED_LIB_MARKER" or "$with_libxml/lib/$LIBXML_STATIC_LIB_MARKER" files don't exist), typo?]) fi fi @@ -349,7 +350,10 @@ AX_FIND_FOLDER(LIBXML_INCLUDE_PATH, $LIBXML_INCLUDE_MARKER, $LIBXML_INCLUDE_DIR) fi if test "z$LIBXML_LIB_PATH" = "z" ; then - AX_FIND_FOLDER(LIBXML_LIB_PATH, $LIBXML_LIB_MARKER, $LIBXML_LIB_DIR) + AX_FIND_FOLDER(LIBXML_LIB_PATH, $LIBXML_SHARED_LIB_MARKER, $LIBXML_LIB_DIR) + fi + if test "z$LIBXML_LIB_PATH" = "z" ; then + AX_FIND_FOLDER(LIBXML_LIB_PATH, $LIBXML_STATIC_LIB_MARKER, $LIBXML_LIB_DIR) fi if test "z$LIBXML_INCLUDE_PATH" != "z" -a "z$LIBXML_LIB_PATH" != "z" ; then LIBXML_FOUND="yes" @@ -449,7 +453,8 @@ LIBXSLT_LIB_DIR="$COMMON_LIB_DIR /usr/local/libxslt/lib" LIBXSLT_CONFIG="xslt-config" LIBXSLT_INCLUDE_MARKER="libxslt/xsltconfig.h" -LIBXSLT_LIB_MARKER="libxslt$shrext" +LIBXSLT_SHARED_LIB_MARKER="libxslt$shrext" +LIBXSLT_STATIC_LIB_MARKER="libxslt.$libext" LIBXSLT_LIBS_LIST="-lxslt" XMLSEC_NO_LIBXSLT="1" @@ -468,13 +473,13 @@ dnl Priority 1: User specifies the path to source code if test "z$LIBXSLT_FOUND" = "zno" -a "z$with_libxslt_src" != "z" -a "z$with_libxslt_src" != "zyes" ; then AC_MSG_CHECKING(for libxslt library source tree in "$with_libxslt_src" folder) - if test -f "$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER" -a -f "$with_libxslt_src/libxslt/.libs/$LIBXSLT_LIB_MARKER" ; then + if test [ -f "$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER" ] -a [ -f "$with_libxslt_src/libxslt/.libs/$LIBXSLT_SHARED_LIB_MARKER" -o -f "$with_libxslt_src/libxslt/.libs/$LIBXSLT_STATIC_LIB_MARKER" ] ; then LIBXSLT_INCLUDE_PATH="$with_libxslt_src" LIBXSLT_LIB_PATH="$with_libxslt_src/libxslt/.libs" LIBXSLT_FOUND="yes" AC_MSG_RESULT([yes]) else - AC_MSG_ERROR([not found: "$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER" and/or "$with_libxslt_src/libxslt/.libs/$LIBXSLT_LIB_MARKER" files don't exist), typo?]) + AC_MSG_ERROR([not found: "$with_libxslt_src/$LIBXSLT_INCLUDE_MARKER" and/or "$with_libxslt_src/libxslt/.libs/$LIBXSLT_SHARED_LIB_MARKER" or "$with_libxslt_src/libxslt/.libs/$LIBXSLT_STATIC_LIB_MARKER" files don't exist), typo?]) fi fi @@ -485,13 +490,13 @@ LIBXSLT_CONFIG_PATH="$with_libxslt/bin/$LIBXSLT_CONFIG" LIBXSLT_FOUND="yes" AC_MSG_RESULT([yes]) - elif test -f "$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER" -a -f "$with_libxslt/lib/$LIBXSLT_LIB_MARKER" ; then + elif test [ -f "$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER" ] -a [ -f "$with_libxslt/lib/$LIBXSLT_SHARED_LIB_MARKER" -o -f "$with_libxslt/lib/$LIBXSLT_STATIC_LIB_MARKER" ] ; then LIBXSLT_INCLUDE_PATH="$with_libxslt/include" LIBXSLT_LIB_PATH="$with_libxslt/lib" LIBXSLT_FOUND="yes" AC_MSG_RESULT([yes]) else - AC_MSG_ERROR([not found: "$with_libxslt/bin/$LIBXSLT_CONFIG" tool, or "$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER" and/or "$with_libxslt/lib/$LIBXSLT_LIB_MARKER" files don't exist), typo?]) + AC_MSG_ERROR([not found: "$with_libxslt/bin/$LIBXSLT_CONFIG" tool, or "$with_libxslt/include/$LIBXSLT_INCLUDE_MARKER" and/or "$with_libxslt/lib/$LIBXSLT_SHARED_LIB_MARKER" or "$with_libxslt/lib/$LIBXSLT_STATIC_LIB_MARKER" files don't exist), typo?]) fi fi @@ -522,7 +527,10 @@ AX_FIND_FOLDER(LIBXSLT_INCLUDE_PATH, $LIBXSLT_INCLUDE_MARKER, $LIBXSLT_INCLUDE_DIR) fi if test "z$LIBXSLT_LIB_PATH" = "z" ; then - AX_FIND_FOLDER(LIBXSLT_LIB_PATH, $LIBXSLT_LIB_MARKER, $LIBXSLT_LIB_DIR) + AX_FIND_FOLDER(LIBXSLT_LIB_PATH, $LIBXSLT_SHARED_LIB_MARKER, $LIBXSLT_LIB_DIR) + fi + if test "z$LIBXSLT_LIB_PATH" = "z" ; then + AX_FIND_FOLDER(LIBXSLT_LIB_PATH, $LIBXSLT_STATIC_LIB_MARKER, $LIBXSLT_LIB_DIR) fi if test "z$LIBXSLT_INCLUDE_PATH" != "z" -a "z$LIBXSLT_LIB_PATH" != "z" ; then LIBXSLT_FOUND="yes" @@ -641,6 +649,8 @@ *-*-osf5*) OPENSSL_EXTRA_LIBS=;; *-*-openbsd*) OPENSSL_EXTRA_LIBS=;; *-*-netbsd*) OPENSSL_EXTRA_LIBS=;; + *-*-freebsd*|*-*-dragonfly*) OPENSSL_EXTRA_LIBS=;; + *-*-darwin*) OPENSSL_EXTRA_LIBS=;; #FIXME: check if lib "dl" is required *) OPENSSL_EXTRA_LIBS=-ldl;; esac @@ -2413,7 +2423,6 @@ Makefile include/Makefile include/xmlsec/Makefile -include/xmlsec/private/Makefile src/Makefile apps/Makefile docs/Makefile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/Makefile.am new/xmlsec1-1.2.30/docs/Makefile.am --- old/xmlsec1-1.2.28/docs/Makefile.am 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/Makefile.am 2020-04-20 20:30:32.000000000 +0200 @@ -27,9 +27,9 @@ if [ z"$(srcdir)" != z"$(builddir)" -a z"`uname`" != z"Darwin" ]; \ then \ $(CP) -ru $(srcdir)/*.html $(srcdir)/*.ico $(srcdir)/images $(builddir)/ ; \ - chmod u+w $(builddir)/*.html ; \ - chmod u+w $(builddir)/*.ico ; \ - chmod -R u+w $(builddir)/images ; \ + (chmod u+w $(builddir)/*.html || true) ; \ + (chmod u+w $(builddir)/*.ico || true) ; \ + (chmod -R u+w $(builddir)/images || true) ; \ fi \ ) @@ -94,8 +94,8 @@ clean-local: -rm -f *.stamp ( if [ z"$(srcdir)" != z"$(builddir)" ] ; then \ - chmod -R u+w $(builddir)/images && rm -rf $(builddir)/images ; \ - chmod -R u+w $(builddir)/src && rm -rf $(builddir)/src ; \ + (chmod -R u+w $(builddir)/images || true) && rm -rf $(builddir)/images ; \ + (chmod -R u+w $(builddir)/src || true) && rm -rf $(builddir)/src ; \ (for i in `find $(builddir) -name "*.html" -print` ; do \ echo "Removing files '$$i' ... " ; \ chmod -R u+w $$i && rm -f $$i ; \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/api/Makefile.am new/xmlsec1-1.2.30/docs/api/Makefile.am --- old/xmlsec1-1.2.28/docs/api/Makefile.am 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/api/Makefile.am 2020-04-20 20:30:32.000000000 +0200 @@ -268,9 +268,9 @@ -rm -rf $(SOURCE_CODE_DIR) $(EXAMPLES_DIR) $(SCAN_DIR)/*.txt $(SGML_DIR) $(GTKDOC_MKDB_OUTPUT_DIR) -rm -f *.stamp *.types index.sgml @( if [ z"$(builddir)" != z"$(srcdir)" ] ; then \ - chmod -R u+w $(builddir)/src && rm -rf $(builddir)/src ; \ - chmod -R u+w $(builddir)/images && rm -rf $(builddir)/images ; \ - chmod -R u+w $(builddir)/*.png && rm -rf $(builddir)/*.png ; \ + (chmod -R u+w $(builddir)/src || true) && rm -rf $(builddir)/src ; \ + (chmod -R u+w $(builddir)/images || true) && rm -rf $(builddir)/images ; \ + (chmod -R u+w $(builddir)/*.png || true) && rm -rf $(builddir)/*.png ; \ fi ; ) distclean-local: clean-local diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/api/xmlsec-index.html new/xmlsec1-1.2.30/docs/api/xmlsec-index.html --- old/xmlsec1-1.2.28/docs/api/xmlsec-index.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/api/xmlsec-index.html 2020-04-20 20:30:32.000000000 +0200 @@ -1352,6 +1352,7 @@ <li class="listitem"><p><a class="link" href="xmlsec-parser.html#xmlSecParseFile" title="xmlSecParseFile ()">xmlSecParseFile</a></p></li> <li class="listitem"><p><a class="link" href="xmlsec-parser.html#xmlSecParseMemoryExt" title="xmlSecParseMemoryExt ()">xmlSecParseMemoryExt</a></p></li> <li class="listitem"><p><a class="link" href="xmlsec-parser.html#xmlSecParseMemory" title="xmlSecParseMemory ()">xmlSecParseMemory</a></p></li> +<li class="listitem"><p><a class="link" href="xmlsec-parser.html#xmlSecParsePrepareCtxt" title="xmlSecParsePrepareCtxt ()">xmlSecParsePrepareCtxt</a></p></li> <li class="listitem"><p><a class="link" href="xmlsec-xmltree.html#xmlSecPrintXmlString" title="xmlSecPrintXmlString ()">xmlSecPrintXmlString</a></p></li> <li class="listitem"><p><a class="link" href="xmlsec-list.html#xmlSecPtrDebugDumpItemMethod" title="xmlSecPtrDebugDumpItemMethod ()">xmlSecPtrDebugDumpItemMethod</a></p></li> <li class="listitem"><p><a class="link" href="xmlsec-list.html#xmlSecPtrDestroyItemMethod" title="xmlSecPtrDestroyItemMethod ()">xmlSecPtrDestroyItemMethod</a></p></li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/api/xmlsec-parser.html new/xmlsec1-1.2.30/docs/api/xmlsec-parser.html --- old/xmlsec1-1.2.28/docs/api/xmlsec-parser.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/api/xmlsec-parser.html 2020-04-20 20:30:32.000000000 +0200 @@ -69,6 +69,14 @@ </tr> <tr> <td class="function_type"> +<font><span class="returnvalue">void</span></font> +</td> +<td class="function_name"> +<a class="link" href="xmlsec-parser.html#xmlSecParsePrepareCtxt" title="xmlSecParsePrepareCtxt ()">xmlSecParsePrepareCtxt</a> <span class="c_punctuation">()</span> +</td> +</tr> +<tr> +<td class="function_type"> <font><span class="returnvalue">xmlSecTransformId</span></font> </td> <td class="function_name"> @@ -227,6 +235,28 @@ </div> </div> <hr> +<div class="refsect2"> +<a name="xmlSecParsePrepareCtxt"></a><h3>xmlSecParsePrepareCtxt ()</h3> +<pre class="programlisting"><font><span class="returnvalue">void</span></font> +xmlSecParsePrepareCtxt (<em class="parameter"><code><font><span class="type">xmlParserCtxtPtr</span></font> ctxt</code></em>);</pre> +<p>Prepares parser context for parsing XML for XMLSec.</p> +<div class="refsect3"> +<a name="xmlSecParsePrepareCtxt.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col> +<col> +<col> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>ctxt</p></td> +<td class="parameter_description"><p>the parser context</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +</div> +<hr> <div class="refsect2"> <a name="xmlSecTransformXmlParserGetKlass"></a><h3>xmlSecTransformXmlParserGetKlass ()</h3> <pre class="programlisting"><font><span class="returnvalue">xmlSecTransformId</span></font> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/api/xmlsec-version.html new/xmlsec1-1.2.30/docs/api/xmlsec-version.html --- old/xmlsec1-1.2.28/docs/api/xmlsec-version.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/api/xmlsec-version.html 2020-04-20 20:30:32.000000000 +0200 @@ -78,7 +78,7 @@ <a name="xmlsec-version.other_details"></a><h2>Types and Values</h2> <div class="refsect2"> <a name="XMLSEC-VERSION:CAPS"></a><h3>XMLSEC_VERSION</h3> -<pre class="programlisting">#define XMLSEC_VERSION "1.2.28" +<pre class="programlisting">#define XMLSEC_VERSION "1.2.30" </pre> <p>The library version string in the format "$major_number.$minor_number.$sub_minor_number".</p> @@ -100,14 +100,14 @@ <hr> <div class="refsect2"> <a name="XMLSEC-VERSION-SUBMINOR:CAPS"></a><h3>XMLSEC_VERSION_SUBMINOR</h3> -<pre class="programlisting">#define XMLSEC_VERSION_SUBMINOR 28 +<pre class="programlisting">#define XMLSEC_VERSION_SUBMINOR 30 </pre> <p>The library sub-minor version number.</p> </div> <hr> <div class="refsect2"> <a name="XMLSEC-VERSION-INFO:CAPS"></a><h3>XMLSEC_VERSION_INFO</h3> -<pre class="programlisting">#define XMLSEC_VERSION_INFO "3:28:2" +<pre class="programlisting">#define XMLSEC_VERSION_INFO "3:30:2" </pre> <p>The library version info string in the format "$major_number+$minor_number:$sub_minor_number:$minor_number".</p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/download.html new/xmlsec1-1.2.30/docs/download.html --- old/xmlsec1-1.2.28/docs/download.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/download.html 2020-04-20 20:30:32.000000000 +0200 @@ -420,10 +420,10 @@ <h1>Download</h1> </div> <h2>Stable releases.</h2> -<p>The latest stable XML Security Library version is <b>1.2.28</b>:</p> +<p>The latest stable XML Security Library version is <b>1.2.30</b>:</p> <ul> <li> -<a href="http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.28.tar.gz">Sources for latest version</a>.</li> +<a href="http://www.aleksey.com/xmlsec/download/xmlsec1-1.2.30.tar.gz">Sources for latest version</a>.</li> <li> <a href="http://www.zlatkovic.com/projects/libxml/index.html">Windows binaries</a> for XMLSec Library (as well as LibXML2, LibXSLT and OpenSSL) from <a href="mailto:i...@zlatkovic.com">Igor Zlatkovic</a>.</li> @@ -461,6 +461,11 @@ <h2>GIT</h2> <p>XML Security Library is available from the <a href="https://github.com/lsh123/xmlsec">GitHub</a>. </p> +<h2>Other languages</h2> +<p><ul> + <li><a href="https://github.com/mehcode/python-xmlsec">Python xmlsec module</a></li> + <li><a href="https://github.com/estrelow/Perl-LibXML-Sec">Perl LibXML-Sec module</a></li> +</ul></p> </td></tr></table></td> </tr></table></body> </html> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/index.html new/xmlsec1-1.2.30/docs/index.html --- old/xmlsec1-1.2.28/docs/index.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/index.html 2020-04-20 20:30:32.000000000 +0200 @@ -439,7 +439,23 @@ see the Copyright file in the distribution for details.<br><br></p> <p><b>News</b></p> <ul> -<li>April 16 2019<br> +<li>April 21 2020<br> + The <a href="download.html">XML Security Library 1.2.30</a> release includes the following changes: + <ul> + <li>Enabled XML_PARSE_HUGE for all xml parsers.</li> + <li>Added s390x support for travis (nayana-ibm).</li> + <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> + </ul> +</li> +<br><li>October 15 2019<br> + The <a href="download.html">XML Security Library 1.2.29</a> release includes the following changes: + <ul> + <li>Various build and tests fixes and improvements.</li> + <li>Move remaining private header files away from xmlsec/include/ folder.</li> + <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> + </ul> +</li> +<br><li>April 16 2019<br> The <a href="download.html">XML Security Library 1.2.28</a> release includes the following changes: <ul> <li>Added BoringSSL support (chenbd).</li> @@ -470,15 +486,6 @@ <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> </ul> </li> -<br><li>September 12 2017<br> - The <a href="download.html">XML Security Library 1.2.25</a> release includes the following changes: - <ul> - <li>Removed OpenSSL 0.9.8 support and several previously deprecated functions.</li> - <li>Added SHA224 support for xmlsec-nss (vmiklos).</li> - <li>Added configurable default linefeed for xmltree module (pablogallardo).</li> - <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> - </ul> -</li> </ul> </td></tr></table></td> </tr></table></body> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/docs/news.html new/xmlsec1-1.2.30/docs/news.html --- old/xmlsec1-1.2.28/docs/news.html 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/docs/news.html 2020-04-20 20:30:32.000000000 +0200 @@ -420,7 +420,23 @@ <h1>XML Security Library News</h1> </div> <ul> -<li>April 16 2019<br> +<li>April 21 2020<br> + The <a href="download.html">XML Security Library 1.2.30</a> release includes the following changes: + <ul> + <li>Enabled XML_PARSE_HUGE for all xml parsers.</li> + <li>Added s390x support for travis (nayana-ibm).</li> + <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> + </ul> +</li> +<br><li>October 15 2019<br> + The <a href="download.html">XML Security Library 1.2.29</a> release includes the following changes: + <ul> + <li>Various build and tests fixes and improvements.</li> + <li>Move remaining private header files away from xmlsec/include/ folder.</li> + <li>Several other small fixes (<a href="https://github.com/lsh123/xmlsec/commits/master">more details</a>).</li> + </ul> +</li> +<br><li>April 16 2019<br> The <a href="download.html">XML Security Library 1.2.28</a> release includes the following changes: <ul> <li>Added BoringSSL support (chenbd).</li> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/Makefile.am new/xmlsec1-1.2.30/include/xmlsec/Makefile.am --- old/xmlsec1-1.2.28/include/xmlsec/Makefile.am 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/Makefile.am 2020-04-20 20:30:32.000000000 +0200 @@ -1,6 +1,6 @@ ## Process this file with automake to produce Makefile.in NULL = -SUBDIRS = private $(XMLSEC_CRYPTO_LIST) +SUBDIRS = $(XMLSEC_CRYPTO_LIST) EXTRA_DIST = skeleton mscrypto $(XMLSEC_CRYPTO_DISABLED_LIST) xmlsecincdir = $(includedir)/xmlsec1/xmlsec diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/gnutls/crypto.h new/xmlsec1-1.2.30/include/xmlsec/gnutls/crypto.h --- old/xmlsec1-1.2.28/include/xmlsec/gnutls/crypto.h 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/gnutls/crypto.h 2020-04-20 20:30:32.000000000 +0200 @@ -13,12 +13,11 @@ #include <xmlsec/keys.h> #include <xmlsec/transforms.h> #include <xmlsec/dl.h> -#ifndef XMLSEC_NO_DSA #include <gnutls/gnutls.h> +#ifndef XMLSEC_NO_DSA #include <gnutls/x509.h> #endif /* XMLSEC_NO_DSA */ #ifndef XMLSEC_NO_RSA -#include <gnutls/gnutls.h> #include <gnutls/x509.h> #endif /* XMLSEC_NO_RSA */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/parser.h new/xmlsec1-1.2.30/include/xmlsec/parser.h --- old/xmlsec1-1.2.28/include/xmlsec/parser.h 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/parser.h 2020-04-20 20:30:32.000000000 +0200 @@ -30,7 +30,7 @@ xmlSecSize bufferSize, const xmlSecByte *postfix, xmlSecSize postfixSize); - +XMLSEC_EXPORT void xmlSecParsePrepareCtxt (xmlParserCtxtPtr ctxt); /** * xmlSecTransformXmlParserId: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/private/Makefile.am new/xmlsec1-1.2.30/include/xmlsec/private/Makefile.am --- old/xmlsec1-1.2.28/include/xmlsec/private/Makefile.am 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/private/Makefile.am 1970-01-01 01:00:00.000000000 +0100 @@ -1,11 +0,0 @@ -NULL = - -xmlsecprivateincdir = $(includedir)/xmlsec1/xmlsec/private - -xmlsecprivateinc_HEADERS = \ -xslt.h \ -$(NULL) - -install-exec-hook: - $(mkinstalldirs) $(DESTDIR)$(xmlsecprivateincdir) - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/private/xslt.h new/xmlsec1-1.2.30/include/xmlsec/private/xslt.h --- old/xmlsec1-1.2.28/include/xmlsec/private/xslt.h 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/private/xslt.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,34 +0,0 @@ -/* - * XML Security Library (http://www.aleksey.com/xmlsec). - * - * XSLT helper functions - * - * This is free software; see Copyright file in the source - * distribution for preciese wording. - * - * Copyright (C) 2002-2016 Aleksey Sanin <alek...@aleksey.com>. All Rights Reserved. - */ -#ifndef __XMLSEC_PRIVATE_XSLT_H__ -#define __XMLSEC_PRIVATE_XSLT_H__ - -#ifndef XMLSEC_PRIVATE -#error "xmlsec/private/xslt.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries" -#endif /* XMLSEC_PRIVATE */ - -#ifndef XMLSEC_NO_XSLT - -#ifdef __cplusplus -extern "C" { -#endif /* __cplusplus */ - -void xmlSecTransformXsltInitialize (void); -void xmlSecTransformXsltShutdown (void); - -#ifdef __cplusplus -} -#endif /* __cplusplus */ - -#endif /* XMLSEC_NO_XSLT */ - -#endif /* __XMLSEC_PRIVATE_XSLT_H__ */ - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/include/xmlsec/version.h new/xmlsec1-1.2.30/include/xmlsec/version.h --- old/xmlsec1-1.2.28/include/xmlsec/version.h 2019-04-16 18:40:16.000000000 +0200 +++ new/xmlsec1-1.2.30/include/xmlsec/version.h 2020-04-20 20:31:23.000000000 +0200 @@ -26,7 +26,7 @@ * The library version string in the format * "$major_number.$minor_number.$sub_minor_number". */ -#define XMLSEC_VERSION "1.2.28" +#define XMLSEC_VERSION "1.2.30" /** * XMLSEC_VERSION_MAJOR: @@ -47,7 +47,7 @@ * * The library sub-minor version number. */ -#define XMLSEC_VERSION_SUBMINOR 28 +#define XMLSEC_VERSION_SUBMINOR 30 /** * XMLSEC_VERSION_INFO: @@ -55,7 +55,7 @@ * The library version info string in the format * "$major_number+$minor_number:$sub_minor_number:$minor_number". */ -#define XMLSEC_VERSION_INFO "3:28:2" +#define XMLSEC_VERSION_INFO "3:30:2" #ifdef __cplusplus diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/man/xmlsec1-config.1 new/xmlsec1-1.2.30/man/xmlsec1-config.1 --- old/xmlsec1-1.2.28/man/xmlsec1-config.1 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/man/xmlsec1-config.1 2020-04-20 20:30:32.000000000 +0200 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH XMLSEC1-CONFIG "1" "April 2019" "xmlsec1-config 1.2.28" "User Commands" +.TH XMLSEC1-CONFIG "1" "April 2020" "xmlsec1-config 1.2.30" "User Commands" .SH NAME xmlsec1-config \- detail installed version of xmlsec library .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/man/xmlsec1.1 new/xmlsec1-1.2.30/man/xmlsec1.1 --- old/xmlsec1-1.2.28/man/xmlsec1.1 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/man/xmlsec1.1 2020-04-20 20:30:32.000000000 +0200 @@ -1,5 +1,5 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6. -.TH XMLSEC1 "1" "April 2019" "xmlsec1 1.2.28 (openssl)" "User Commands" +.TH XMLSEC1 "1" "April 2020" "xmlsec1 1.2.30 (openssl)" "User Commands" .SH NAME xmlsec1 \- sign, verify, encrypt and decrypt XML documents .SH SYNOPSIS diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/Makefile.am new/xmlsec1-1.2.30/src/Makefile.am --- old/xmlsec1-1.2.28/src/Makefile.am 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/Makefile.am 2020-04-20 20:30:32.000000000 +0200 @@ -17,6 +17,7 @@ errors_helpers.h \ globals.h \ kw_aes_des.h \ + xslt.h \ skeleton \ mscrypto \ $(XMLSEC_CRYPTO_DISABLED_LIST) \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/mscrypto/x509vfy.c new/xmlsec1-1.2.30/src/mscrypto/x509vfy.c --- old/xmlsec1-1.2.28/src/mscrypto/x509vfy.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/mscrypto/x509vfy.c 2020-04-20 20:30:32.000000000 +0200 @@ -162,7 +162,7 @@ } static BOOL -xmlSecMSCrypoVerifyCertTime(PCCERT_CONTEXT pCert, LPFILETIME pft) { +xmlSecMSCryptoVerifyCertTime(PCCERT_CONTEXT pCert, LPFILETIME pft) { xmlSecAssert2(pCert != NULL, FALSE); xmlSecAssert2(pCert->pCertInfo != NULL, FALSE); xmlSecAssert2(pft != NULL, FALSE); @@ -341,7 +341,7 @@ PCCERT_CONTEXT issuerCert = NULL; DWORD flags; - if (!xmlSecMSCrypoVerifyCertTime(cert, pfTime)) { + if (!xmlSecMSCryptoVerifyCertTime(cert, pfTime)) { xmlSecMSCryptoX509StoreCertError(store, cert, CERT_STORE_TIME_VALIDITY_FLAG); return(FALSE); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/parser.c new/xmlsec1-1.2.30/src/parser.c --- old/xmlsec1-1.2.28/src/parser.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/parser.c 2020-04-20 20:30:32.000000000 +0200 @@ -143,7 +143,7 @@ static int xmlSecParserPushBin(xmlSecTransformPtr transform, const xmlSecByte* data, - xmlSecSize dataSize, int final, xmlSecTransformCtxPtr transformCtx) { + xmlSecSize dataSize, int final, xmlSecTransformCtxPtr transformCtx) { xmlSecParserCtxPtr ctx; int ret; @@ -162,11 +162,7 @@ xmlSecXmlError("xmlCreatePushParserCtxt", xmlSecTransformGetName(transform)); return(-1); } - - /* required for c14n! */ - ctx->parserCtx->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctx->parserCtx->replaceEntities = 1; - ctx->parserCtx->options = XML_PARSE_NONET; + xmlSecParsePrepareCtxt(ctx->parserCtx); transform->status = xmlSecTransformStatusWorking; } else if(transform->status == xmlSecTransformStatusFinished) { @@ -283,6 +279,7 @@ xmlFreeParserInputBuffer(buf); return(-1); } + xmlSecParsePrepareCtxt(ctxt); input = xmlNewIOInputStream(ctxt, buf, XML_CHAR_ENCODING_NONE); if(input == NULL) { @@ -306,10 +303,6 @@ return(-1); } - /* required for c14n! */ - ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctxt->replaceEntities = 1; - /* finaly do the parsing */ ret = xmlParseDocument(ctxt); if(ret < 0) { @@ -380,9 +373,7 @@ "filename=%s", xmlSecErrorsSafeString(filename)); return(NULL); } - - /* enable parsing of XML documents with large text nodes */ - /* crashes on x64 xmlCtxtUseOptions (ctxt, XML_PARSE_HUGE); */ + xmlSecParsePrepareCtxt(ctxt); /* todo: set directories from current doc? */ if ((ctxt->directory == NULL) && (directory == NULL)) { @@ -403,10 +394,6 @@ } } - /* required for c14n! */ - ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctxt->replaceEntities = 1; - ret = xmlParseDocument(ctxt); if(ret < 0) { xmlSecXmlParserError2("xmlParseDocument", ctxt, NULL, @@ -465,10 +452,7 @@ xmlSecXmlError("xmlCreatePushParserCtxt", NULL); goto done; } - - /* required for c14n! */ - ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctxt->replaceEntities = 1; + xmlSecParsePrepareCtxt(ctxt); /* prefix */ if((prefix != NULL) && (prefixSize > 0)) { @@ -548,10 +532,7 @@ xmlSecXmlError("xmlCreateMemoryParserCtxt", NULL); return(NULL); } - - /* required for c14n! */ - ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctxt->replaceEntities = 1; + xmlSecParsePrepareCtxt(ctxt); ret = xmlParseDocument(ctxt); if(ret < 0) { @@ -581,3 +562,26 @@ return(res); } +/** + * xmlSecParsePrepareCtxt: + * @ctxt: the parser context + * + * Prepares parser context for parsing XML for XMLSec. + */ +void +xmlSecParsePrepareCtxt(xmlParserCtxtPtr ctxt) { + xmlSecAssert(ctxt != NULL); + + /* required for c14n! */ + ctxt->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; + ctxt->replaceEntities = 1; + + /* + * Also see xmlSecReplaceNodeBufferAndReturn: + * + * XML_PARSE_NONET to support c14n + * XML_PARSE_NODICT to avoid problems with moving nodes around + * XML_PARSE_HUGE to enable parsing of XML documents with large text nodes + */ + xmlCtxtUseOptions(ctxt, XML_PARSE_NONET | XML_PARSE_NODICT | XML_PARSE_HUGE); +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/transforms.c new/xmlsec1-1.2.30/src/transforms.c --- old/xmlsec1-1.2.28/src/transforms.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/transforms.c 2020-04-20 20:30:32.000000000 +0200 @@ -69,7 +69,7 @@ #include <xmlsec/parser.h> #include <xmlsec/errors.h> -#include <xmlsec/private/xslt.h> +#include "xslt.h" /************************************************************************** * diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/xmlenc.c new/xmlsec1-1.2.30/src/xmlenc.c --- old/xmlsec1-1.2.28/src/xmlenc.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/xmlenc.c 2020-04-20 20:30:32.000000000 +0200 @@ -399,7 +399,7 @@ /* now we need to update our original document */ if((encCtx->type != NULL) && xmlStrEqual(encCtx->type, xmlSecTypeEncElement)) { - /* check if we need to return the replaced node */ + /* check if we need to return the replaced node */ if((encCtx->flags & XMLSEC_ENC_RETURN_REPLACED_NODE) != 0) { ret = xmlSecReplaceNodeAndReturn(node, tmpl, &(encCtx->replacedNodeList)); if(ret < 0) { @@ -415,10 +415,9 @@ return(-1); } } - - encCtx->resultReplaced = 1; + encCtx->resultReplaced = 1; } else if((encCtx->type != NULL) && xmlStrEqual(encCtx->type, xmlSecTypeEncContent)) { - /* check if we need to return the replaced node */ + /* check if we need to return the replaced node */ if((encCtx->flags & XMLSEC_ENC_RETURN_REPLACED_NODE) != 0) { ret = xmlSecReplaceContentAndReturn(node, tmpl, &(encCtx->replacedNodeList)); if(ret < 0) { @@ -434,7 +433,6 @@ return(-1); } } - encCtx->resultReplaced = 1; } else { /* we should've caught this error before */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/xmltree.c new/xmlsec1-1.2.30/src/xmltree.c --- old/xmlsec1-1.2.28/src/xmltree.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/xmltree.c 2020-04-20 20:30:32.000000000 +0200 @@ -562,9 +562,6 @@ xmlSecAssert2(node != NULL, -1); xmlSecAssert2(newNode != NULL, -1); - xmlUnlinkNode(newNode); - xmlSetTreeDoc(newNode, node->doc); - /* return the old nodes if requested */ if(replaced != NULL) { xmlNodePtr cur, next, tail; @@ -573,7 +570,7 @@ for(cur = node->children; (cur != NULL); cur = next) { next = cur->next; if((*replaced) != NULL) { - /* n is unlinked in this function */ + /* cur is unlinked in this function */ xmlAddNextSibling(tail, cur); tail = cur; } else { @@ -587,8 +584,9 @@ xmlNodeSetContent(node, NULL); } - xmlAddChild(node, newNode); - xmlSetTreeDoc(newNode, node->doc); + /* swap nodes */ + xmlUnlinkNode(newNode); + xmlAddChildList(node, newNode); return(0); } @@ -628,8 +626,13 @@ xmlSecAssert2(node != NULL, -1); xmlSecAssert2(node->parent != NULL, -1); - /* parse buffer in the context of node's parent */ - ret = xmlParseInNodeContext(node->parent, (const char*)buffer, size, XML_PARSE_NODICT, &results); + /* parse buffer in the context of node's parent (also see xmlSecParsePrepareCtxt): + * XML_PARSE_NONET to support c14n + * XML_PARSE_NODICT to avoid problems with moving nodes around + * XML_PARSE_HUGE to enable parsing of XML documents with large text nodes + */ + ret = xmlParseInNodeContext(node->parent, (const char*)buffer, size, + XML_PARSE_NONET | XML_PARSE_NODICT | XML_PARSE_HUGE, &results); if(ret != XML_ERR_OK) { xmlSecXmlError("xmlParseInNodeContext", NULL); return(-1); @@ -868,7 +871,6 @@ return(res); } - /** * xmlSecGetQName: * @node: the context node. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/xslt.c new/xmlsec1-1.2.30/src/xslt.c --- old/xmlsec1-1.2.28/src/xslt.c 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/src/xslt.c 2020-04-20 20:30:32.000000000 +0200 @@ -35,7 +35,7 @@ #include <xmlsec/keys.h> #include <xmlsec/parser.h> #include <xmlsec/errors.h> -#include <xmlsec/private/xslt.h> +#include "xslt.h" /************************************************************************** * @@ -284,7 +284,7 @@ static int xmlSecXsltPushBin(xmlSecTransformPtr transform, const xmlSecByte* data, - xmlSecSize dataSize, int final, xmlSecTransformCtxPtr transformCtx) { + xmlSecSize dataSize, int final, xmlSecTransformCtxPtr transformCtx) { xmlSecXsltCtxPtr ctx; int ret; @@ -305,10 +305,7 @@ xmlSecXmlError("xmlCreatePushParserCtxt", xmlSecTransformGetName(transform)); return(-1); } - - /* required for c14n! */ - ctx->parserCtx->loadsubset = XML_DETECT_IDS | XML_COMPLETE_ATTRS; - ctx->parserCtx->replaceEntities = 1; + xmlSecParsePrepareCtxt(ctx->parserCtx); transform->status = xmlSecTransformStatusWorking; } else if(transform->status == xmlSecTransformStatusFinished) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/src/xslt.h new/xmlsec1-1.2.30/src/xslt.h --- old/xmlsec1-1.2.28/src/xslt.h 1970-01-01 01:00:00.000000000 +0100 +++ new/xmlsec1-1.2.30/src/xslt.h 2020-04-20 20:30:32.000000000 +0200 @@ -0,0 +1,34 @@ +/* + * XML Security Library (http://www.aleksey.com/xmlsec). + * + * XSLT helper functions + * + * This is free software; see Copyright file in the source + * distribution for preciese wording. + * + * Copyright (C) 2002-2016 Aleksey Sanin <alek...@aleksey.com>. All Rights Reserved. + */ +#ifndef __XMLSEC_PRIVATE_XSLT_H__ +#define __XMLSEC_PRIVATE_XSLT_H__ + +#ifndef XMLSEC_PRIVATE +#error "xmlsec/private/xslt.h file contains private xmlsec definitions and should not be used outside xmlsec or xmlsec-$crypto libraries" +#endif /* XMLSEC_PRIVATE */ + +#ifndef XMLSEC_NO_XSLT + +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + +void xmlSecTransformXsltInitialize (void); +void xmlSecTransformXsltShutdown (void); + +#ifdef __cplusplus +} +#endif /* __cplusplus */ + +#endif /* XMLSEC_NO_XSLT */ + +#endif /* __XMLSEC_PRIVATE_XSLT_H__ */ + diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/tests/testDSig.sh new/xmlsec1-1.2.30/tests/testDSig.sh --- old/xmlsec1-1.2.28/tests/testDSig.sh 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/tests/testDSig.sh 2020-04-20 20:30:32.000000000 +0200 @@ -433,7 +433,7 @@ "aleksey-xmldsig-01/enveloped-ecdsa-java-bug" \ "sha512 ecdsa-sha512" \ "ecdsa x509" \ - "--trusted-$cert_format $topfolder/keys/enveloped-ecdsa-java-bug-cert.$cert_format --enabled-key-data x509" + "--trusted-$cert_format $topfolder/keys/enveloped-ecdsa-java-bug-cert.$cert_format --enabled-key-data x509 --verification-time 2019-01-01+00:00:00" fi # @@ -805,98 +805,98 @@ "signature-rsa-detached-b64-transform" \ "base64 sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xpath-transform" \ "xpath sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xslt-transform-retrieval-method" \ "xslt sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-detached-xslt-transform" \ "xslt sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-enveloped" \ "enveloped-signature sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-enveloping" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-cert-chain" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-cert" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-issuer-serial" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-ski" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest-x509-data-subject-name" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --untrusted-$cert_format certs/rsa-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-manifest" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00 $url_map_rfc3161" execDSigTest $res_success \ "phaos-xmldsig-three" \ "signature-rsa-xpath-transform-enveloped" \ "enveloped-signature xpath sha1 rsa-sha1" \ "rsa x509" \ - "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --X509-skip-strict-checks --verification-time 2009-01-01+10:00:00" + "--trusted-$cert_format certs/rsa-ca-cert.$cert_format --verification-time 2009-01-01+10:00:00" ########################################################################## @@ -940,7 +940,7 @@ "merlin-xmldsig-twenty-three/signature-x509-crt-crl" \ "sha1 rsa-sha1" \ "rsa x509" \ - "--X509-skip-strict-checks --trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format $url_map_xml_stylesheet_2018" + "--trusted-$cert_format $topfolder/merlin-xmldsig-twenty-three/certs/ca.$cert_format $url_map_xml_stylesheet_2018" execDSigTest $res_fail \ "" \ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/tests/testrun.sh new/xmlsec1-1.2.30/tests/testrun.sh --- old/xmlsec1-1.2.28/tests/testrun.sh 2019-04-16 18:39:26.000000000 +0200 +++ new/xmlsec1-1.2.30/tests/testrun.sh 2020-04-20 20:30:32.000000000 +0200 @@ -59,7 +59,7 @@ elif [ "z$crypto" != "z" ] ; then xmlsec_params="$xmlsec_params --crypto $crypto" fi -xmlsec_params="$xmlsec_params --X509-skip-strict-checks --crypto-config $crypto_config" +xmlsec_params="$xmlsec_params --crypto-config $crypto_config" # # Setup keys config @@ -308,8 +308,8 @@ # run tests if [ -n "$params1" ] ; then printf " Verify existing signature " - echo "$VALGRIND $xmlsec_app verify $xmlsec_params $params1 $full_file.xml" >> $curlogfile - $VALGRIND $xmlsec_app verify $xmlsec_params $params1 $full_file.xml >> $curlogfile 2>> $curlogfile + echo "$VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params $params1 $full_file.xml" >> $curlogfile + $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params $params1 $full_file.xml >> $curlogfile 2>> $curlogfile printRes $expected_res $? if [ $? != 0 ]; then failures=`expr $failures + 1` @@ -328,8 +328,8 @@ if [ -n "$params3" -a -z "$PERF_TEST" ] ; then printf " Verify new signature " - echo "$VALGRIND $xmlsec_app verify $xmlsec_params $params3 $tmpfile" >> $curlogfile - $VALGRIND $xmlsec_app verify $xmlsec_params $params3 $tmpfile >> $curlogfile 2>> $curlogfile + echo "$VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params $params3 $tmpfile" >> $curlogfile + $VALGRIND $xmlsec_app verify --X509-skip-strict-checks $xmlsec_params $params3 $tmpfile >> $curlogfile 2>> $curlogfile printRes $res_success $? if [ $? != 0 ]; then failures=`expr $failures + 1` @@ -406,7 +406,7 @@ if [ -n "$params1" ] ; then rm -f $tmpfile printf " Decrypt existing document " - echo "$VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $full_file.xml" >> $curlogfile + echo "$VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 $full_file.xml" >> $curlogfile $VALGRIND $xmlsec_app decrypt $xmlsec_params $params1 --output $tmpfile $full_file.xml >> $curlogfile 2>> $curlogfile res=$? echo "=== TEST RESULT: $res; expected: $expected_res" >> $curlogfile diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1-config new/xmlsec1-1.2.30/xmlsec1-config --- old/xmlsec1-1.2.28/xmlsec1-config 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1-config 2020-04-20 20:31:24.000000000 +0200 @@ -95,7 +95,7 @@ ;; --version) - echo 1.2.28 + echo 1.2.30 exit 0 ;; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1-gcrypt.pc new/xmlsec1-1.2.30/xmlsec1-gcrypt.pc --- old/xmlsec1-1.2.28/xmlsec1-gcrypt.pc 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1-gcrypt.pc 2020-04-20 20:31:24.000000000 +0200 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: xmlsec1-gcrypt -Version: 1.2.28 +Version: 1.2.30 Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= 2.8.0 libxslt >= 1.0.20 Cflags: -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 -I/home/aleksey/local/include -DXMLSEC_CRYPTO_GCRYPT=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1-gnutls.pc new/xmlsec1-1.2.30/xmlsec1-gnutls.pc --- old/xmlsec1-1.2.28/xmlsec1-gnutls.pc 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1-gnutls.pc 2020-04-20 20:31:24.000000000 +0200 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: xmlsec1-gnutls -Version: 1.2.28 +Version: 1.2.30 Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= 2.8.0 libxslt >= 1.0.20 Cflags: -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 -I/usr/include/p11-kit-1 -DXMLSEC_CRYPTO_GNUTLS=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1-nss.pc new/xmlsec1-1.2.30/xmlsec1-nss.pc --- old/xmlsec1-1.2.28/xmlsec1-nss.pc 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1-nss.pc 2020-04-20 20:31:24.000000000 +0200 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: xmlsec1-nss -Version: 1.2.28 +Version: 1.2.30 Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= 2.8.0 libxslt >= 1.0.20 xulrunner-nspr >= 1.4 xulrunner-nss >= 1.4 Cflags: -DXMLSEC_CRYPTO_NSS=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1-openssl.pc new/xmlsec1-1.2.30/xmlsec1-openssl.pc --- old/xmlsec1-1.2.28/xmlsec1-openssl.pc 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1-openssl.pc 2020-04-20 20:31:24.000000000 +0200 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: xmlsec1-openssl -Version: 1.2.28 +Version: 1.2.30 Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= 2.8.0 libxslt >= 1.0.20 Cflags: -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 -DXMLSEC_CRYPTO_OPENSSL=1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1.pc new/xmlsec1-1.2.30/xmlsec1.pc --- old/xmlsec1-1.2.28/xmlsec1.pc 2019-04-16 18:40:16.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1.pc 2020-04-20 20:31:23.000000000 +0200 @@ -4,7 +4,7 @@ includedir=${prefix}/include Name: xmlsec1 -Version: 1.2.28 +Version: 1.2.30 Description: XML Security Library implements XML Signature and XML Encryption standards Requires: libxml-2.0 >= 2.8.0 libxslt >= 1.0.20 Cflags: -DXMLSEC_CRYPTO_DYNAMIC_LOADING=1 -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1.spec new/xmlsec1-1.2.30/xmlsec1.spec --- old/xmlsec1-1.2.28/xmlsec1.spec 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1.spec 2020-04-20 20:31:24.000000000 +0200 @@ -1,6 +1,6 @@ Summary: Library providing support for "XML Signature" and "XML Encryption" standards Name: xmlsec1 -Version: 1.2.28 +Version: 1.2.30 Release: 1 License: MIT Group: Development/Libraries diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/xmlsec1-1.2.28/xmlsec1Conf.sh new/xmlsec1-1.2.30/xmlsec1Conf.sh --- old/xmlsec1-1.2.28/xmlsec1Conf.sh 2019-04-16 18:40:17.000000000 +0200 +++ new/xmlsec1-1.2.30/xmlsec1Conf.sh 2020-04-20 20:31:24.000000000 +0200 @@ -9,5 +9,5 @@ XMLSEC_LIBDIR="${exec_prefix}/lib" XMLSEC_INCLUDEDIR=" -D__XMLSEC_FUNCTION__=__func__ -DXMLSEC_NO_GOST=1 -DXMLSEC_NO_GOST2012=1 -DXMLSEC_DL_LIBLTDL=1 -I${prefix}/include/xmlsec1 -I/usr/include/libxml2 -I/usr/include/libxml2 -DXMLSEC_CRYPTO_OPENSSL=1" XMLSEC_LIBS="-L${exec_prefix}/lib -lxmlsec1-openssl -lxmlsec1 -lltdl -lxml2 -lxslt -lxml2 -lssl -lcrypto" -MODULE_VERSION="xmlsec-1.2.28-openssl" +MODULE_VERSION="xmlsec-1.2.30-openssl"