ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid-8/include/conf.h
(Generate patch)

Comparing ircd-hybrid-7.2/include/s_conf.h (file contents):
Revision 950 by michael, Tue Jul 21 23:07:52 2009 UTC vs.
Revision 967 by michael, Sun Aug 2 18:05:28 2009 UTC

# Line 35 | Line 35
35   #include "hook.h"
36   #include "pcre.h"
37  
38 +
39 + #define CONF_SERVER_INFO_TLS_VERSION_SSLV3 0x1
40 + #define CONF_SERVER_INFO_TLS_VERSION_TLSV1 0x2
41 +
42   struct Client;
43   struct DNSReply;
44   struct hostent;
45  
42 extern FBFILE *conf_fbfile_in;
46   extern struct Callback *client_check_cb;
47  
48 + struct conf_parser_context
49 + {
50 +  unsigned int boot;
51 +  unsigned int pass;
52 +  FBFILE *conf_file;
53 + };
54 +
55 + extern struct conf_parser_context conf_parser_ctx;
56 +
57   typedef enum
58   {  
59    CONF_TYPE,
# Line 435 | Line 447 | struct server_info
447   #ifdef HAVE_LIBCRYPTO
448    char *rsa_private_key_file;
449    RSA *rsa_private_key;
450 <  SSL_CTX *ctx;
450 >  SSL_CTX *server_ctx;
451 >  SSL_CTX *client_ctx;
452 >  unsigned int tls_version;
453   #endif
454    char *sid;
455    int hub;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines