diff options
author | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-03 01:18:09 +0000 |
---|---|---|
committer | noloader <noloader@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2015-07-03 01:18:09 +0000 |
commit | b2ce57084aa59f4cce23dea762c0692973b15c6a (patch) | |
tree | 1099332699bcf38e740dea3ed480209d4859a97f | |
parent | aa73b950fa096ac0e34a38976d2c4956c7f7d8e1 (diff) | |
download | cryptopp-b2ce57084aa59f4cce23dea762c0692973b15c6a.tar.gz |
Cleared initialization warning related to use of braces
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@567 57ff6487-cd31-0410-9ec3-f628ee90f5f0
-rw-r--r-- | rw.cpp | 2 | ||||
-rw-r--r-- | shark.cpp | 4 | ||||
-rw-r--r-- | sharkbox.cpp | 4 | ||||
-rw-r--r-- | square.cpp | 4 | ||||
-rw-r--r-- | tftables.cpp | 4 |
5 files changed, 17 insertions, 1 deletions
@@ -202,7 +202,7 @@ Integer InvertibleRWFunction::CalculateInverse(RandomNumberGenerator &rng, const Integer re = modn.Square(r); re = modn.Multiply(re, x); // blind - const Integer &h = re, &p = m_p, &q = m_q, &n = m_n; + const Integer &h = re, &p = m_p, &q = m_q; Integer e, f; const Integer U = modq.Exponentiate(h, (q+1)/8); @@ -6,6 +6,10 @@ #include "modes.h" #include "gf256.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wmissing-braces" +#endif + NAMESPACE_BEGIN(CryptoPP) static word64 SHARKTransform(word64 a) diff --git a/sharkbox.cpp b/sharkbox.cpp index a0ff31f..edd3318 100644 --- a/sharkbox.cpp +++ b/sharkbox.cpp @@ -1,6 +1,10 @@ #include "pch.h" #include "shark.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wmissing-braces" +#endif + NAMESPACE_BEGIN(CryptoPP) const byte SHARK::Enc::sbox[256] = { @@ -6,6 +6,10 @@ #include "misc.h" #include "gf256.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wmissing-braces" +#endif + NAMESPACE_BEGIN(CryptoPP) // apply theta to a roundkey diff --git a/tftables.cpp b/tftables.cpp index dc654cf..974d143 100644 --- a/tftables.cpp +++ b/tftables.cpp @@ -3,6 +3,10 @@ #include "pch.h" #include "twofish.h" +#if GCC_DIAGNOSTIC_AWARE +# pragma GCC diagnostic ignored "-Wmissing-braces" +#endif + NAMESPACE_BEGIN(CryptoPP) const byte Twofish::Base::q[2][256] = { |