[xml-security-c] 05/21: Fix GCC5 warnings

Ferenc Wágner wferi-guest at moszumanska.debian.org
Mon Jun 27 12:20:24 UTC 2016


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

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

commit c55855b7994156e0628eb21e22218f0f07d1a822
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