X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=ngircd-alex.git;a=blobdiff_plain;f=src%2Fngircd%2Fconf.h;h=9378d17c35f9c27436f6c885c141aed68fbbcbed;hp=f3e2c5a573936a8df5588cba342d8b5f63566f71;hb=HEAD;hpb=8fdb8f90b1756520f173a0dc11a2320cb63c0a4e diff --git a/src/ngircd/conf.h b/src/ngircd/conf.h index f3e2c5a5..9378d17c 100644 --- a/src/ngircd/conf.h +++ b/src/ngircd/conf.h @@ -61,6 +61,7 @@ typedef struct _Conf_Server ng_ipaddr_t dst_addr[2]; /**< List of addresses to connect to */ #ifdef SSL_SUPPORT bool SSLConnect; /**< Establish connection using SSL? */ + bool SSLVerify; /**< Verify server certificate using CA? */ #endif char svs_mask[CLIENT_ID_LEN]; /**< Mask of nicknames that should be treated and counted as services */ @@ -76,6 +77,8 @@ struct SSLOptions { array ListenPorts; /**< Array of listening SSL ports */ array KeyFilePassword; /**< Key file password */ char *CipherList; /**< Set SSL cipher list to use */ + char *CAFile; /**< Trusted CA certificates file */ + char *CRLFile; /**< Certificate revocation file */ }; #endif @@ -241,7 +244,7 @@ GLOBAL unsigned int Conf_MaxNickLength; /** Maximum number of channels returned to /list */ GLOBAL int Conf_MaxListSize; -/** Maximium seconds to add per "penalty". -1 = unlimited. */ +/** Maximum seconds to add per "penalty". -1 = unlimited. */ GLOBAL time_t Conf_MaxPenaltyTime; #ifndef STRICT_RFC