Fix linear alphabet string errors

pull/1/head
Timothy Pearson 13 years ago
parent 09085a600d
commit 440010aa59

@ -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