Changeset 5e81262 in mod_gnutls for include/mod_gnutls.h.in


Ignore:
Timestamp:
Dec 8, 2007, 11:07:12 AM (12 years ago)
Author:
Nokis Mavrogiannopoulos <nmav@…>
Branches:
debian/master, debian/stretch-backports, jessie-backports, master, msva, upstream
Children:
ae4a2b0
Parents:
3b83e00
git-author:
Nikos Mavrogiannopoulos <nmav@…> (12/08/07 11:07:12)
git-committer:
Nokis Mavrogiannopoulos <nmav@…> (12/08/07 11:07:12)
Message:

Added support for sending more than one certificate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r3b83e00 r5e81262  
    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.