summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/stls/stls_s6tlsc.c2
-rw-r--r--src/stls/stls_s6tlsd.c2
2 files changed, 2 insertions, 2 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)
diff --git a/src/stls/stls_s6tlsd.c b/src/stls/stls_s6tlsd.c
index 07446e7..a791e89 100644
--- a/src/stls/stls_s6tlsd.c
+++ b/src/stls/stls_s6tlsd.c
@@ -35,7 +35,7 @@ int stls_s6tlsd (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)
diecfg(cfg, "tls_config_set_ciphers") ;