Changeset 2a2272d in mod_gnutls for include/mod_gnutls.h.in


Ignore:
Timestamp:
Jan 11, 2013, 12:56:01 AM (8 years ago)
Author:
Daniel Kahn Gillmor <dkg@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, upstream
Children:
dc1e7e6, e86847d
Parents:
a4839ae
Message:

Imported Upstream version 0.4.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    ra4839ae r2a2272d  
    8181 */
    8282#define MAX_CA_CRTS 128
    83 #define MAX_CIPHERS 16
     83
     84/* The maximum number of certificates to send in a chain
     85 */
     86#define MAX_CHAIN_SIZE 8
    8487
    8588typedef struct
     
    8992    gnutls_anon_server_credentials_t anon_creds;
    9093    char* cert_cn;
    91     gnutls_x509_crt_t cert_x509;
     94    gnutls_x509_crt_t certs_x509[MAX_CHAIN_SIZE]; /* A certificate chain */
     95    unsigned int certs_x509_num;
    9296    gnutls_x509_privkey_t privkey_x509;
    9397    int enabled;
Note: See TracChangeset for help on using the changeset viewer.