Changeset 87f1ed2 in mod_gnutls for include


Ignore:
Timestamp:
May 8, 2015, 8:40:02 PM (3 years ago)
Author:
Thomas Klute <thomas2.klute@…>
Branches:
master, debian, jessie-backports, upstream
Children:
8f90bf4
Parents:
39bd695
git-author:
Thomas Klute <thomas2.klute@…> (04/26/15 14:48:27)
git-committer:
Thomas Klute <thomas2.klute@…> (05/08/15 20:40:02)
Message:

Allow loading of an additional PKCS #11 provider library

When using PKCS #11, it may not be desirable to add the PKCS #11 module
to be used by mod_gnutls to the system wide config, and we definitely
cannot demand it for tests.

To work around such problems, add the new configuration parameter
"GnuTLSP11Module", which may contain the path of a library to load. Note
that the value is only used if present in the base server configuration
(not a virtual host), and that the library is used in addition to
system defaults (if any).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/mod_gnutls.h.in

    r4133f2d r87f1ed2  
    112112        /* A Plain HTTP request */
    113113    int non_ssl_request;
     114
     115    /* Additional PKCS #11 provider module to load, only valid in the
     116     * base config, ignored in virtual hosts */
     117    char *p11_module;
    114118
    115119    /* PIN used for PKCS #11 operations */
     
    419423const char *mgs_set_client_ca_file(cmd_parms * parms, void *dummy,
    420424                                   const char *arg);
     425
     426const char *mgs_set_p11_module(cmd_parms * parms, void *dummy,
     427                               const char *arg);
     428
    421429const char *mgs_set_pin(cmd_parms * parms, void *dummy,
    422430                                   const char *arg);
Note: See TracChangeset for help on using the changeset viewer.