ASF Bugzilla – Attachment 31459 Details for
Bug 56306
SSLCertificateKeyFile path garbled if not explicitly given in each vhost
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Only read "active" values from the mctx->pks->key_files array, v2
ssl_engine_init_keyfile_v2.patch (text/plain), 657 bytes, created by
Kaspar Brand
on 2014-03-30 09:40:26 UTC
(
hide
)
Description:
Only read "active" values from the mctx->pks->key_files array, v2
Filename:
MIME Type:
Creator:
Kaspar Brand
Created:
2014-03-30 09:40:26 UTC
Size:
657 bytes
patch
obsolete
>Index: modules/ssl/ssl_engine_init.c >=================================================================== >--- modules/ssl/ssl_engine_init.c (revision 1565929) >+++ modules/ssl/ssl_engine_init.c (working copy) >@@ -914,9 +914,11 @@ static apr_status_t ssl_init_server_certs(server_r > } > > /* and second, the private key */ >- keyfile = APR_ARRAY_IDX(mctx->pks->key_files, i, const char *); >- if (keyfile == NULL) >+ if (i < mctx->pks->key_files->nelts) { >+ keyfile = APR_ARRAY_IDX(mctx->pks->key_files, i, const char *); >+ } else { > keyfile = certfile; >+ } > > ERR_clear_error(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 56306
:
31458
| 31459 |
31531