summaryrefslogtreecommitdiff
path: root/src/stls/stls_s6tlsc.c
diff options
context:
space:
mode:
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)