comparison nnchat.c @ 278:2d8967497e21

Remove 'encryption key' define.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jun 2011 17:40:07 +0300
parents 66b90d71548b
children 11c99fe87f76
comparison
equal deleted inserted replaced
277:2cff949abbc5 278:2d8967497e21
29 #else 29 #else
30 #define SET_CONFIG_FILE ".nnchat" 30 #define SET_CONFIG_FILE ".nnchat"
31 #define SET_DIR_SEPARATOR "/" 31 #define SET_DIR_SEPARATOR "/"
32 #define SET_DELAY (5) 32 #define SET_DELAY (5)
33 #endif 33 #endif
34
35 /* Define the weak "encryption" key used for locally stored passwords.
36 * This has no other purpose than to obfuscate keys in configuration
37 * file(s) from casual observers. In NO WAY this can be seen as a
38 * true security measure!
39 */
40 #define SET_ENC_KEY "1a#!sCbZxcGj0a04hBz&S"
41 34
42 #define SET_BACKBUF_LEN (512) /* Backbuffer size (in lines) */ 35 #define SET_BACKBUF_LEN (512) /* Backbuffer size (in lines) */
43 #define SET_MAX_HISTORY (16) /* Command history length */ 36 #define SET_MAX_HISTORY (16) /* Command history length */
44 #define SET_KEEPALIVE (15*60) /* Ping/keepalive period in seconds */ 37 #define SET_KEEPALIVE (15*60) /* Ping/keepalive period in seconds */
45 38