Package: xml-security-c / 2.0.2-3

Metadata

Package Version Patches format
xml-security-c 2.0.2-3 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Refresh ax_pthread.m4 and target its usage.patch | (download)

configure.ac | 7 1 + 6 - 0 !
m4/ax_pthread.m4 | 400 288 + 112 - 0 !
xml-security-c.pc.in | 4 2 + 2 - 0 !
xsec/Makefile.am | 6 4 + 2 - 0 !
4 files changed, 295 insertions(+), 122 deletions(-)

 refresh ax_pthread.m4 and target its usage


Initialize Libtool in the modern way and after the compil.patch | (download)

configure.ac | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 initialize libtool in the modern way and after the compiler

The Libtool initialization macros require AC_PROG_CC, which sets CFLAGS
Don t change the C XX FLAGS provided by the user.patch | (download)

configure.ac | 16 8 + 8 - 0 !
xsec/Makefile.am | 2 1 + 1 - 0 !
2 files changed, 9 insertions(+), 9 deletions(-)

 don't change the c(xx)flags provided by the user

Leave the default at -g -O2 as AC_PROG_CC sets it; such options are
better customized by setting C(XX)FLAGS on the command line.
Defining NDEBUG is risky, don't do that; use --enable-debug for
producing the debug variant only.
Enable another bunch of warnings (-W) under GCC.

DSA pad r and s to 20 bytes.patch | (download)

xsec/enc/OpenSSL/OpenSSLCryptoKeyDSA.cpp | 16 5 + 11 - 0 !
1 file changed, 5 insertions(+), 11 deletions(-)

 dsa: pad r and s to 20 bytes

As mandated by https://www.w3.org/TR/xmldsig-core1/#sec-DSA and
as expected by OpenSSLCryptoKeyDSA::verifyBase64Signature() in
the first place.  The ASN2DSASig() attempt is rather limited and
not required by the specification anyway, so it could be removed
in a followup step.