Changeset 7bebb42 in mod_gnutls for include


Ignore:
Timestamp:
Nov 28, 2007, 1:29:21 PM (11 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
3e6bc31
Parents:
8e33f2d
git-author:
Nikos Mavrogiannopoulos <nmav@…> (11/28/07 13:29:21)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (11/28/07 13:29:21)
Message:

upgraded to 0.4.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r8e33f2d r7bebb42  
    7777} mgs_dirconf_rec;
    7878
     79
     80/* The maximum number of client CA certificates allowed.
     81 */
     82#define MAX_CA_CRTS 128
     83#define MAX_CIPHERS 16
     84
    7985typedef struct
    8086{
    8187    gnutls_certificate_credentials_t certs;
     88    gnutls_srp_server_credentials_t srp_creds;
     89    gnutls_anon_server_credentials_t anon_creds;
    8290    char* cert_cn;
    8391    gnutls_x509_crt_t cert_x509;
    8492    gnutls_x509_privkey_t privkey_x509;
    8593    int enabled;
    86     int ciphers[16];
    87     int key_exchange[16];
    88     int macs[16];
    89     int protocol[16];
    90     int compression[16];
    91     int cert_types[16];
    92     apr_time_t cache_timeout;
     94    /* whether to send the PEM encoded certificates
     95     * to CGIs
     96     */
     97    int export_certificates_enabled;
     98    gnutls_priority_t priorities;
     99    int cache_timeout;
    93100    mgs_cache_e cache_type;
    94101    const char* cache_config;
    95102    const char* rsa_params_file;
    96103    const char* dh_params_file;
     104    const char* srp_tpasswd_file;
     105    const char* srp_tpasswd_conf_file;
     106    gnutls_x509_crt_t ca_list[MAX_CA_CRTS];
     107    unsigned int ca_list_size;
    97108    int client_verify_mode;
    98109} mgs_srvconf_rec;
     
    215226                                char *str, int strsize);
    216227
     228/**
     229 * Convert a time_t into a Null Terminated String
     230 * @param t time_t time
     231 * @param str Location to store the Hex Encoded String
     232 * @param strsize The Maximum Length that can be stored in str
     233 */
     234char *mgs_time2sz(time_t t, char *str, int strsize);
     235
    217236
    218237/* Configuration Functions */
    219238
     239const char *mgs_set_srp_tpasswd_conf_file(cmd_parms * parms, void *dummy,
     240                                        const char *arg);
     241const char *mgs_set_srp_tpasswd_file(cmd_parms * parms, void *dummy,
     242                                        const char *arg);
     243const char *mgs_set_dh_file(cmd_parms * parms, void *dummy,
     244                                        const char *arg);
     245const char *mgs_set_rsa_export_file(cmd_parms * parms, void *dummy,
     246                                        const char *arg);
    220247const char *mgs_set_cert_file(cmd_parms * parms, void *dummy,
    221248                                        const char *arg);
     
    237264
    238265const char *mgs_set_enabled(cmd_parms * parms, void *dummy,
     266                            const char *arg);
     267const char *mgs_set_export_certificates_enabled(cmd_parms * parms, void *dummy,
     268                            const char *arg);
     269const char *mgs_set_priorities(cmd_parms * parms, void *dummy,
    239270                            const char *arg);
    240271                           
Note: See TracChangeset for help on using the changeset viewer.