Changeset 746e993 in mod_gnutls for src/gnutls_hooks.c
- Timestamp:
- Sep 16, 2015, 2:39:51 PM (7 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, proxy-ticket, upstream
- Children:
- 7764015
- Parents:
- f21d2a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_hooks.c
rf21d2a6 r746e993 326 326 if (sc_base->p11_module != NULL) 327 327 { 328 rv = gnutls_pkcs11_init(GNUTLS_PKCS11_FLAG_MANUAL, NULL); 329 if (rv < 0) { 328 rv = gnutls_pkcs11_init(GNUTLS_PKCS11_FLAG_MANUAL, NULL); 329 if (rv < 0) 330 { 330 331 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, 331 332 "GnuTLS: Initializing PKCS #11 " 332 333 "failed: %s (%d).", 333 334 gnutls_strerror(rv), rv); 334 } else { 335 rv = gnutls_pkcs11_add_provider(sc_base->p11_module, NULL); 336 if (rv != GNUTLS_E_SUCCESS) 335 } 336 else 337 { 338 rv = gnutls_pkcs11_add_provider(sc_base->p11_module, NULL); 339 if (rv != GNUTLS_E_SUCCESS) 337 340 ap_log_error(APLOG_MARK, APLOG_STARTUP, 0, s, 338 339 340 341 341 "GnuTLS: Loading PKCS #11 provider module %s " 342 "failed: %s (%d).", 343 sc_base->p11_module, gnutls_strerror(rv), rv); 344 } 342 345 } 343 346
Note: See TracChangeset
for help on using the changeset viewer.