mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
journal-remote: bugfix to re-enable ssl key check (#10707)
This commit is contained in:
parent
f628e3eea7
commit
d7ef030b26
@ -1114,9 +1114,11 @@ int main(int argc, char **argv) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
||||
if (arg_listen_https || https_socket >= 0)
|
||||
if (arg_listen_https || https_socket >= 0) {
|
||||
if (load_certificates(&key, &cert, &trust) < 0)
|
||||
return EXIT_FAILURE;
|
||||
s.check_trust = !arg_trust_all;
|
||||
}
|
||||
|
||||
if (create_remoteserver(&s, key, cert, trust) < 0)
|
||||
return EXIT_FAILURE;
|
||||
|
Loading…
Reference in New Issue
Block a user