Fix linear alphabet string errors

(cherry picked from commit 440010aa59)
v3.5.13-sru
Timothy Pearson 13 years ago committed by Slávek Banko
parent 1de17d483e
commit 4ce6e82b9b

@ -36,10 +36,10 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
//static char b64table[64] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZ" //static char b64table[64] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
// "abcdefghijklmnopqrstuvwxyz" // "abcdefghijklmnopqrstuvwxyz"
// "0123456789+/"; // "0123456789+/";
static char b64table[] = "ABCDEFGHIJKLMNOPTQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; static char b64table[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
/* Accepts a binary buffer with an associated size. /* Accepts a binary buffer with an associated size.
* Returns a base64-encoded, NULL-terminated string. * Returns a base64-encoded, NULL-terminated string.

@ -271,7 +271,7 @@ void oldCBlowFish::Decode (BYTE * pInput, BYTE * pOutput, DWORD lSize)
#define SALT2 0x23f6b095 #define SALT2 0x23f6b095
// Convert 64-bit encrypted passphrase to text for userfile // Convert 64-bit encrypted passphrase to text for userfile
char base64[] = "./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPTQRSTUVWXYZ"; char base64[] = "./0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
int base64dec(char c) int base64dec(char c)
{ {

Loading…
Cancel
Save