The encoding and decoding tables for Base64 are
authorArt Cancro <ajc@citadel.org>
Thu, 17 Jan 2008 20:29:27 +0000 (20:29 +0000)
committerArt Cancro <ajc@citadel.org>
Thu, 17 Jan 2008 20:29:27 +0000 (20:29 +0000)
commit57ab2a1c1faa50d2edaa7895567dc1f350c053f1
tree158043fd3f7329d9999d6e5b0c74c440f66a02b7
parent579aa049401703a63399da008434a10035d4d7b8
The encoding and decoding tables for Base64 are
no longer calculated at startup.  CtdlInitBase64Table() is removed.  The tables
are now hardcoded as 'const' arrays.  Not only will this eliminate the need to do
a startup calculation, but since it is now const we will get a nice clean segv if
some other code attempts to clobber them.
12 files changed:
citadel/citadel.c
citadel/citmail.c
citadel/getmail.c
citadel/sendcommand.c
citadel/server_main.c
citadel/setup.c
citadel/stress.c
citadel/userlist.c
citadel/whobbs.c
libcitadel/lib/libcitadel.h
libcitadel/lib/tools.c
webcit/webserver.c