summaryrefslogtreecommitdiffstats
path: root/daemon/tls_ephemeral_credentials.c
diff options
context:
space:
mode:
authorOto Šťáva <oto.stava@nic.cz>2022-12-12 10:34:23 +0100
committerOto Šťáva <oto.stava@nic.cz>2022-12-14 09:12:23 +0100
commitf51d038889ecb2a1dbc6bf0f76b5924fa1f0b4e4 (patch)
tree13c6bffce58e61e1550c229057889745d263cd31 /daemon/tls_ephemeral_credentials.c
parentMerge !1369: NEWS + doc about TTL: forgotten minor tweaks (diff)
downloadknot-resolver-f51d038889ecb2a1dbc6bf0f76b5924fa1f0b4e4.tar.xz
knot-resolver-f51d038889ecb2a1dbc6bf0f76b5924fa1f0b4e4.zip
Copyright notices: remove years and replace e-mail
Diffstat (limited to 'daemon/tls_ephemeral_credentials.c')
-rw-r--r--daemon/tls_ephemeral_credentials.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/daemon/tls_ephemeral_credentials.c b/daemon/tls_ephemeral_credentials.c
index 42e053b6..48e8d4a0 100644
--- a/daemon/tls_ephemeral_credentials.c
+++ b/daemon/tls_ephemeral_credentials.c
@@ -1,7 +1,7 @@
/*
* Copyright (C) 2016 American Civil Liberties Union (ACLU)
- * Copyright (C) 2016-2017 CZ.NIC, z.s.p.o.
- *
+ * Copyright (C) CZ.NIC, z.s.p.o.
+ *
* Initial Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
@@ -66,7 +66,7 @@ static gnutls_x509_privkey_t get_ephemeral_privkey ()
kr_log_error(TLS, "unable to lock lockfile " EPHEMERAL_PRIVKEY_FILENAME ".lock\n");
goto done;
}
-
+
if ((err = gnutls_x509_privkey_init (&privkey)) < 0) {
kr_log_error(TLS, "gnutls_x509_privkey_init() failed: %d (%s)\n",
err, gnutls_strerror_name(err));
@@ -215,7 +215,7 @@ struct tls_credentials * tls_get_ephemeral_credentials(struct engine *engine)
kr_log_error(TLS, "failed to allocate memory for ephemeral credentials\n");
goto failure;
}
- }
+ }
if ((privkey = get_ephemeral_privkey()) == NULL) {
goto failure;
}