From a6011949be081a8fe1bec0713ce60c36beb3a351 Mon Sep 17 00:00:00 2001 From: "Charles.Forsyth" Date: Sat, 14 Jul 2007 10:41:18 +0000 Subject: 20070714-1142 --- appl/cmd/crypt.b | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'appl/cmd/crypt.b') diff --git a/appl/cmd/crypt.b b/appl/cmd/crypt.b index a478abfc..eec73bc9 100644 --- a/appl/cmd/crypt.b +++ b/appl/cmd/crypt.b @@ -153,11 +153,11 @@ cryptpipe(decrypt: int, alg: string, sk: array of byte): (string, array of ref S (err, c) := ssl->connect(pfd[1]); if (err != nil) - return ("could not connect ssl: "+sys->sprint("%r"), nil, nil, nil); + return ("could not connect ssl: "+err, nil, nil, nil); pfd[1] = nil; err = ssl->secret(c, sk, sk); if (err != nil) - return ("could not write secret: "+sys->sprint("%r"), nil, nil, nil); + return ("could not write secret: "+err, nil, nil, nil); if (alg != nil) if (sys->fprint(c.cfd, "alg %s", alg) == -1) -- cgit v1.2.3