Changeset 929d313 in mod_gnutls
- Timestamp:
- Jan 29, 2013, 8:05:42 PM (8 years ago)
- Branches:
- asyncio, debian/master, debian/stretch-backports, jessie-backports, master, msva, proxy-ticket, upstream
- Children:
- 421ef1c
- Parents:
- 480aba1
- git-author:
- Daniel Kahn Gillmor <dkg@…> (01/28/13 20:31:32)
- git-committer:
- Daniel Kahn Gillmor <dkg@…> (01/29/13 20:05:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/gnutls_config.c
r480aba1 r929d313 131 131 const char *file; 132 132 apr_pool_t *spool; 133 const char *out; 133 134 134 135 mgs_srvconf_rec *sc = (mgs_srvconf_rec *) ap_get_module_config(parms->server->module_config, &gnutls_module); … … 139 140 140 141 if (load_datum_from_file(spool, file, &data) != 0) { 142 out = apr_psprintf(parms->pool, "GnuTLS: Error Reading Private Key '%s'", file); 141 143 apr_pool_destroy(spool); 142 return apr_psprintf(parms->pool, "GnuTLS: Error Reading Private Key '%s'", file);144 return out; 143 145 } 144 146 … … 157 159 158 160 if (ret < 0) { 161 out = apr_psprintf(parms->pool, "GnuTLS: Failed to Import Private Key '%s': (%d) %s", file, ret, gnutls_strerror(ret)); 159 162 apr_pool_destroy(spool); 160 return apr_psprintf(parms->pool, "GnuTLS: Failed to Import Private Key '%s': (%d) %s", file, ret, gnutls_strerror(ret));163 return out; 161 164 } 162 165
Note: See TracChangeset
for help on using the changeset viewer.