diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2017-06-29 21:29:35 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2017-06-29 21:29:35 +0000 |
commit | 61459e9930995a491dcac51019d01813efc495ce (patch) | |
tree | 745b6488ea6b8fbc2adc15f6aadb7d05925de982 | |
parent | f7436da6d0fc65a80eda2206c3c8e24f6d61bb76 (diff) | |
download | s6-networking-61459e9930995a491dcac51019d01813efc495ce.tar.xz |
Fix error messages in stls_s6tls?.c when setting key file
-rw-r--r-- | src/stls/stls_s6tlsc.c | 2 | ||||
-rw-r--r-- | src/stls/stls_s6tlsd.c | 2 |
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") ; |