journal-remote: refuse to specify --trust option when gnutls is disabled
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 24 Mar 2022 07:58:59 +0000 (16:58 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 24 Mar 2022 12:53:04 +0000 (13:53 +0100)
commitf7adeaeb897f6d24c50250e2d5fdc9797964b81e
tree9e5802043ec5f5c8f642c1c9b953f6f163adcfa1
parent7500c6cbef3100c8d05301e6cc096c3e89af87f7
journal-remote: refuse to specify --trust option when gnutls is disabled

and check_permission() should not be called in that case.

Replaces #22847.
src/journal-remote/journal-remote-main.c
src/journal-remote/microhttpd-util.c