mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
journalctl: drop format_journal_url() if gcrypt is not used
Follow-up for f1b823596f.
This commit is contained in:
@@ -1779,6 +1779,7 @@ static int add_syslog_identifier(sd_journal *j) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if HAVE_GCRYPT
|
||||
static int format_journal_url(
|
||||
const void *seed,
|
||||
size_t seed_size,
|
||||
@@ -1825,6 +1826,7 @@ static int format_journal_url(
|
||||
*ret_url = TAKE_PTR(url);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static int setup_keys(void) {
|
||||
#if HAVE_GCRYPT
|
||||
|
||||
Reference in New Issue
Block a user