[xml-security-c] 04/23: Fix GCC5 warnings

Ferenc Wágner wferi-guest at moszumanska.debian.org
Thu Jul 21 20:15:40 UTC 2016


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

wferi-guest pushed a commit to branch patch-queue/master
in repository xml-security-c.

commit b41cc8be4866ce693c7c8f4b5b6eaccbc5639b83
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Sat Jan 30 21:59:31 2016 +0100

    Fix GCC5 warnings
---
 xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp | 2 +-
 xsec/enc/XSECCryptoSymmetricKey.hpp            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp b/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
index ceabb92..d61a776 100644
--- a/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
+++ b/xsec/enc/OpenSSL/OpenSSLCryptoSymmetricKey.hpp
@@ -151,7 +151,7 @@ public :
 							 SymmetricKeyMode mode = MODE_CBC,
 							 const unsigned char * iv = NULL,
                              const unsigned char* tag = NULL,
-                             unsigned int taglen = NULL);
+                             unsigned int taglen = 0);
 
 	/**
 	 * \brief Continue an decrypt operation using this key.
diff --git a/xsec/enc/XSECCryptoSymmetricKey.hpp b/xsec/enc/XSECCryptoSymmetricKey.hpp
index 3bb5188..44c1e65 100644
--- a/xsec/enc/XSECCryptoSymmetricKey.hpp
+++ b/xsec/enc/XSECCryptoSymmetricKey.hpp
@@ -185,7 +185,7 @@ public :
 							 SymmetricKeyMode mode = MODE_CBC,
 							 const unsigned char* iv = NULL,
                              const unsigned char* tag = NULL,
-                             unsigned int taglen = NULL) = 0;
+                             unsigned int taglen = 0) = 0;
 
 	/**
 	 * \brief Continue a decrypt operation using this key.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/xml-security-c.git



More information about the Pkg-shibboleth-devel mailing list