summaryrefslogtreecommitdiffstats
path: root/daemon/tls_ephemeral_credentials.c
diff options
context:
space:
mode:
authorOto Šťáva <oto.stava@nic.cz>2023-02-07 10:15:43 +0100
committerOto Šťáva <oto.stava@nic.cz>2023-02-07 10:15:43 +0100
commit9025d74812604a0ec3ea85856a81b94c5a0412f0 (patch)
tree780d83854c83192ca82be08d4e774a0939f16cc6 /daemon/tls_ephemeral_credentials.c
parentMerge remote-tracking branch 'origin/master' into daemon-refactor-2 (diff)
downloadknot-resolver-9025d74812604a0ec3ea85856a81b94c5a0412f0.tar.xz
knot-resolver-9025d74812604a0ec3ea85856a81b94c5a0412f0.zip
daemon/session2: use enum for consuming/propagating events instead of bool
Diffstat (limited to 'daemon/tls_ephemeral_credentials.c')
-rw-r--r--daemon/tls_ephemeral_credentials.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/tls_ephemeral_credentials.c b/daemon/tls_ephemeral_credentials.c
index dc9cb23b..669580bd 100644
--- a/daemon/tls_ephemeral_credentials.c
+++ b/daemon/tls_ephemeral_credentials.c
@@ -51,7 +51,7 @@ static void _lock_unlock(lock_t *lock, const char *fname)
}
}
-static gnutls_x509_privkey_t get_ephemeral_privkey ()
+static gnutls_x509_privkey_t get_ephemeral_privkey (void)
{
gnutls_x509_privkey_t privkey = NULL;
int err;