Changeset f21d2a6 in mod_gnutls for src/gnutls_hooks.c
- Timestamp:
- Sep 16, 2015, 2:37:11 PM (8 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, main, master, proxy-ticket, upstream
- Children:
- 746e993
- Parents:
- efd3cfe
- git-author:
- Nikos Mavrogiannopoulos <nmav@…> (09/15/15 12:20:30)
- git-committer:
- Thomas Klute <thomas2.klute@…> (09/16/15 14:37:11)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
refd3cfe rf21d2a6 326 326 if (sc_base->p11_module != NULL) 327 327 { 328 rv = gnutls_pkcs11_add_provider(sc_base->p11_module, NULL);329 if (rv != GNUTLS_E_SUCCESS)328 rv = gnutls_pkcs11_init(GNUTLS_PKCS11_FLAG_MANUAL, NULL); 329 if (rv < 0) { 330 330 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, 331 "GnuTLS: Loading PKCS #11 provider module %s"331 "GnuTLS: Initializing PKCS #11 " 332 332 "failed: %s (%d).", 333 sc_base->p11_module, gnutls_strerror(rv), rv); 333 gnutls_strerror(rv), rv); 334 } else { 335 rv = gnutls_pkcs11_add_provider(sc_base->p11_module, NULL); 336 if (rv != GNUTLS_E_SUCCESS) 337 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, 338 "GnuTLS: Loading PKCS #11 provider module %s " 339 "failed: %s (%d).", 340 sc_base->p11_module, gnutls_strerror(rv), rv); 341 } 334 342 } 335 343
Note: See TracChangeset
for help on using the changeset viewer.