summaryrefslogtreecommitdiff
path: root/src/stls
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2016-11-28 15:52:37 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2016-11-28 15:52:37 +0000
commit3f78080496cddb11cbe9040efce694e44cfac7fe (patch)
tree2ddbfb4b98bc0e03221c5583566481d6d3169305 /src/stls
parent21ea38f367237fe9ecaa32872f672aa716dca75b (diff)
downloads6-networking-3f78080496cddb11cbe9040efce694e44cfac7fe.tar.xz
Small sbearssl bugfixes and usability messages
Diffstat (limited to 'src/stls')
-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 194afb9..1313cfe 100644
--- a/src/stls/stls_s6tlsc.c
+++ b/src/stls/stls_s6tlsc.c
@@ -86,7 +86,7 @@ int stls_s6tlsc (char const *const *argv, char const *const *envp, tain_t const
int wstat ;
int r = stls_run(ctx, fds, verbosity, options, tto) ;
if (r < 0) strerr_diefu1sys(111, "run SSL engine") ;
- else if (r) diectx(98, ctx, "run SSL engine") ;
+ else if (r) diectx(98, ctx, "establish or maintain SSL connection to peer") ;
tls_free(ctx) ;
if (wait_pid(pid, &wstat) < 0) strerr_diefu1sys(111, "wait_pid") ;
return wait_estatus(wstat) ;
diff --git a/src/stls/stls_s6tlsd.c b/src/stls/stls_s6tlsd.c
index ff1b308..1506556 100644
--- a/src/stls/stls_s6tlsd.c
+++ b/src/stls/stls_s6tlsd.c
@@ -85,7 +85,7 @@ int stls_s6tlsd (char const *const *argv, char const *const *envp, tain_t const
int wstat ;
int r = stls_run(cctx, fds, verbosity, options, tto) ;
if (r < 0) strerr_diefu1sys(111, "run SSL engine") ;
- else if (r) diectx(98, cctx, "run SSL engine") ;
+ else if (r) diectx(98, cctx, "establish or maintain SSL connection to peer") ;
if (wait_pid(pid, &wstat) < 0) strerr_diefu1sys(111, "wait_pid") ;
return wait_estatus(wstat) ;
}