projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f7b8f
)
journalctl: drop format_journal_url() if gcrypt is not used
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 29 Oct 2020 07:11:40 +0000
(16:11 +0900)
committer
Vito Caputo
<vcaputo@pengaru.com>
Thu, 29 Oct 2020 07:28:28 +0000
(
00:28
-0700)
Follow-up for
f1b823596f8a4dc6b1f76206b7473bac71e3840b
.
src/journal/journalctl.c
patch
|
blob
|
history
diff --git
a/src/journal/journalctl.c
b/src/journal/journalctl.c
index 4014b8aad2ec04842a4a7ef5475d547dfe9a66a0..8bc0aa22dea5bed2f24ef04edaec0449be73b466 100644
(file)
--- a/
src/journal/journalctl.c
+++ b/
src/journal/journalctl.c
@@
-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