summaryrefslogtreecommitdiff
path: root/src/stls/stls_s6tlsc.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-06-29 21:29:35 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-06-29 21:29:35 +0000
commit61459e9930995a491dcac51019d01813efc495ce (patch)
tree745b6488ea6b8fbc2adc15f6aadb7d05925de982 /src/stls/stls_s6tlsc.c
parentf7436da6d0fc65a80eda2206c3c8e24f6d61bb76 (diff)
downloads6-networking-61459e9930995a491dcac51019d01813efc495ce.tar.xz
Fix error messages in stls_s6tls?.c when setting key file
Diffstat (limited to 'src/stls/stls_s6tlsc.c')
-rw-r--r--src/stls/stls_s6tlsc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stls/stls_s6tlsc.c b/src/stls/stls_s6tlsc.c
index 87a45ac..9a6dcc3 100644
--- a/src/stls/stls_s6tlsc.c
+++ b/src/stls/stls_s6tlsc.c
@@ -52,7 +52,7 @@ int stls_s6tlsc (char const *const *argv, char const *const *envp, tain_t const
x = env_get2(envp, "KEYFILE") ;
if (!x) strerr_dienotset(100, "KEYFILE") ;
if (tls_config_set_key_file(cfg, x) < 0)
- diecfg(cfg, "tls_config_set_cert_file") ;
+ diecfg(cfg, "tls_config_set_key_file") ;
}
if (tls_config_set_ciphers(cfg, "secure") < 0)