Commit Graph
21 Commits
Author SHA1 Message Date
Albert Medela f9a2ebebb4 Fix for openssl 1.1.X versions 2019-03-21 13:16:18 +01:00
lotodore 45a5c7cef8 License change: OpenSSL exception (for Windows 8 support, because gcrypt does not work on Windows 8). 2012-12-25 15:06:23 +01:00
lotodore 148ea5d92d Fixing cppcheck issue. 2012-11-26 22:47:40 +01:00
lotodore ea82f58815 Switching license from GPL2 to AGPL3. 2011-07-02 14:52:16 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +00:00
lotodore 4ec5f4eae9 Removing dependency to gnutls, only gcrypt is required now. 2011-03-08 18:42:57 +00:00
lotodore 2ad5f1cb40 Fixing possible memory leak and compiler warnings. 2011-02-28 19:59:14 +00:00
lotodore 02518c67b2 Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
2011-02-11 20:02:08 +00:00
lotodore c2ba56aba9 Encrypt own cards which are sent at the beginning of the hand - only applicable to registered users. 2010-09-04 11:56:40 +00:00
lotodore 073ef0ea01 Adding AES128 encryption/decryption which works both with gcrypt and openssl. This can be used for encryption of player's cards (not implemented yet). 2010-08-29 15:39:46 +00:00
lotodore 9b196eacdd Preparing crypt utility functions. 2010-07-14 07:26:21 +00:00
lotodore a20711d5ac More work on aes encryption stuff. 2009-12-29 18:23:45 +00:00
doitux b738b0025b revert last changes 2009-12-29 17:57:05 +00:00
doitux fcfd53e2a3 linux compile fix 2009-12-29 17:54:20 +00:00
lotodore 119d507c80 Integrating HMAC-SHA1 wrapper, preparing aes wrapper. 2009-12-28 17:29:21 +00:00
lotodore 4692c16a92 Starting to add sha-1 and aes wrapper. 2009-12-28 12:16:52 +00:00
lotodore d7c6cdd75c Use GnuTLS-OpenSSL instead of OpenSSL. Thanks to Zhenech for help with this patch. 2008-04-21 22:27:15 +00:00
lotodore a24a93caba Use unix linefeeds for all files. Finally. It's about time. 2007-11-16 15:24:25 +00:00
lotodore 639df29bdc Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +00:00
lotodore db208190be Added avatar manager which will help when transfering and caching avatars. Using boost::filesystem. MD5 sum is used to identify avatars, different types of files are possible. Avatar cache (and the avatars provided) use for example <md5sum>.png as file names, so that no additional storage for the md5sum is required.
A cache directory with write permissions is required, however, as avatars are not cached in RAM.
2007-09-08 16:26:10 +00:00
lotodore 2f1e371e4f Added code to calculate the MD5 sum of a file. To be used for avatars. 2007-09-08 13:38:06 +00:00