]> code.citadel.org Git - citadel.git/blob - citadel/client_crypto.h
* Allow multiple simultaneous IPC connections. All changes necessary for
[citadel.git] / citadel / client_crypto.h
1 /* $Id$ */
2
3 #ifdef HAVE_OPENSSL
4 #include <openssl/ssl.h>
5 #include <openssl/err.h>
6 #include <openssl/rand.h>
7 #endif
8
9 #ifdef __cplusplus
10 extern "C" {
11 #endif
12
13 /* Shared Diffie-Hellman parameters */
14 #define DH_P            "1A74527AEE4EE2568E85D4FB2E65E18C9394B9C80C42507D7A6A0DBE9A9A54B05A9A96800C34C7AA5297095B69C88901EEFD127F969DCA26A54C0E0B5C5473EBAEB00957D2633ECAE3835775425DE66C0DE6D024DBB17445E06E6B0C78415E589B8814F08531D02FD43778451E7685541079CFFB79EF0D26EFEEBBB69D1E80383"
15 #define DH_G            "2"
16 #define DH_L            1024
17 #define CIT_CIPHERS     "ALL:RC4+RSA:+SSLv2:@STRENGTH"  /* see ciphers(1) */
18
19 #ifdef __cplusplus
20 }
21 #endif