diff options
author | Oto Šťáva <oto.stava@nic.cz> | 2022-08-23 13:08:58 +0200 |
---|---|---|
committer | Oto Šťáva <oto.stava@nic.cz> | 2023-01-26 12:56:07 +0100 |
commit | 343037f959f926982e1cc7c567bc0e0cb6596ad9 (patch) | |
tree | bbbc33f24c3c68c56b266bad8b31b7be64223291 /daemon/tls_ephemeral_credentials.c | |
parent | daemon: channel udp_queue through protolayers (diff) | |
download | knot-resolver-343037f959f926982e1cc7c567bc0e0cb6596ad9.tar.xz knot-resolver-343037f959f926982e1cc7c567bc0e0cb6596ad9.zip |
daemon: implement TLS with protocol layers
Diffstat (limited to 'daemon/tls_ephemeral_credentials.c')
-rw-r--r-- | daemon/tls_ephemeral_credentials.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/daemon/tls_ephemeral_credentials.c b/daemon/tls_ephemeral_credentials.c index cc12ca0b..dc9cb23b 100644 --- a/daemon/tls_ephemeral_credentials.c +++ b/daemon/tls_ephemeral_credentials.c @@ -189,7 +189,8 @@ bad: return NULL; } -struct tls_credentials * tls_get_ephemeral_credentials() +/*! Generate new ephemeral TLS credentials. */ +struct tls_credentials * tls_get_ephemeral_credentials(void) { struct tls_credentials *creds = NULL; gnutls_x509_privkey_t privkey = NULL; |