mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Pass the server_rec to ssl_die() and use it to log a message to the main error
log, pointing to the appropriate virtual host error log git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1348660 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -287,7 +287,7 @@ STACK_OF(X509) *ssl_read_pkcs7(server_rec *s, const char *pkcs7)
|
||||
f = fopen(pkcs7, "r");
|
||||
if (!f) {
|
||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02212) "Can't open %s", pkcs7);
|
||||
ssl_die();
|
||||
ssl_die(s);
|
||||
}
|
||||
|
||||
p7 = PEM_read_PKCS7(f, NULL, NULL, NULL);
|
||||
@@ -314,13 +314,13 @@ STACK_OF(X509) *ssl_read_pkcs7(server_rec *s, const char *pkcs7)
|
||||
default:
|
||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02213)
|
||||
"Don't understand PKCS7 file %s", pkcs7);
|
||||
ssl_die();
|
||||
ssl_die(s);
|
||||
}
|
||||
|
||||
if (!certs) {
|
||||
ap_log_error(APLOG_MARK, APLOG_EMERG, 0, s, APLOGNO(02214)
|
||||
"No certificates in %s", pkcs7);
|
||||
ssl_die();
|
||||
ssl_die(s);
|
||||
}
|
||||
|
||||
fclose(f);
|
||||
|
Reference in New Issue
Block a user