diff options
author | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-08-14 00:55:43 +0000 |
---|---|---|
committer | weidai <weidai@57ff6487-cd31-0410-9ec3-f628ee90f5f0> | 2007-08-14 00:55:43 +0000 |
commit | 52c8201e056c136b6d178414e93754eb8e5f1d2c (patch) | |
tree | 90de0c8b722c85b2e2bb0c4e2d4df953f0cef6ed /validat1.cpp | |
parent | d1fbb8a047100fb8e424f69b2e7e4eb6ac289c53 (diff) | |
download | cryptopp-52c8201e056c136b6d178414e93754eb8e5f1d2c.tar.gz |
fix gcc compile errors and warnings
git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@388 57ff6487-cd31-0410-9ec3-f628ee90f5f0
Diffstat (limited to 'validat1.cpp')
-rw-r--r-- | validat1.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/validat1.cpp b/validat1.cpp index 365fca5..1fb26c7 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -1119,7 +1119,7 @@ bool ValidateBlowfish() cout << "\nBlowfish validation suite running...\n\n"; HexEncoder output(new FileSink(cout)); - char *key[]={"abcdefghijklmnopqrstuvwxyz", "Who is John Galt?"}; + const char *key[]={"abcdefghijklmnopqrstuvwxyz", "Who is John Galt?"}; byte *plain[]={(byte *)"BLOWFISH", (byte *)"\xfe\xdc\xba\x98\x76\x54\x32\x10"}; byte *cipher[]={(byte *)"\x32\x4e\xd0\xfe\xf4\x13\xa2\x03", (byte *)"\xcc\x91\x73\x2b\x80\x22\xf6\x84"}; byte out[8], outplain[8]; |