diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-25 16:17:00 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-05 20:35:30 +0200 |
commit | 4ce6e82b9b6e1787d573d4b4a6e375a4c6532e92 (patch) | |
tree | fbc932f90679b39e219fc3f0757f17aae0ee73c3 | |
parent | 1de17d483ead8a8a8e2a003e72d586a346c7779f (diff) | |
download | konversation-4ce6e82b9b6e1787d573d4b4a6e375a4c6532e92.tar.gz konversation-4ce6e82b9b6e1787d573d4b4a6e375a4c6532e92.zip |
Fix linear alphabet string errors
(cherry picked from commit 440010aa593e209ce5993a73b1b7cb0a843a2716)
-rw-r--r-- | konversation/src/blowfish/b64stuff.cpp | 4 | ||||
-rw-r--r-- | konversation/src/blowfish/oldblowfish.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/konversation/src/blowfish/b64stuff.cpp b/konversation/src/blowfish/b64stuff.cpp index 79d5e64..72f0776 100644 --- a/konversation/src/blowfish/b64stuff.cpp +++ b/konversation/src/blowfish/b64stuff.cpp @@ -36,10 +36,10 @@ //--------------------------------------------------------------------------- //--------------------------------------------------------------------------- -//static char b64table[64] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" +//static char b64table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // "abcdefghijklmnopqrstuvwxyz" // "0123456789+/"; -static char b64table[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; +static char b64table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; /* Accepts a binary buffer with an associated size. * Returns a base64-encoded, NULL-terminated string. diff --git a/konversation/src/blowfish/oldblowfish.cpp b/konversation/src/blowfish/oldblowfish.cpp index 3eab870..1f274db 100644 --- a/konversation/src/blowfish/oldblowfish.cpp +++ b/konversation/src/blowfish/oldblowfish.cpp @@ -271,7 +271,7 @@ void oldCBlowFish::Decode (BYTE * pInput, BYTE * pOutput, DWORD lSize) #define SALT2 0x23f6b095 // Convert 64-bit encrypted passphrase to text for userfile -char base64[] = "./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ"; +char base64[] = "./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"; int base64dec(char c) { |