summaryrefslogtreecommitdiffstats
path: root/src/journal/journalctl-authenticate.h
blob: 2a8ebd55f7f9076943ac553607a4ecf2b6a93c4e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: LGPL-2.1-or-later */
#pragma once

#if HAVE_GCRYPT

int action_setup_keys(void);

#else

#include "log.h"

static inline int action_setup_keys(void) {
        return log_error_errno(SYNTHETIC_ERRNO(EOPNOTSUPP), "Forward-secure sealing not available.");
}

#endif