diff options
| author | Charles.Forsyth <devnull@localhost> | 2007-07-14 10:41:18 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2007-07-14 10:41:18 +0000 |
| commit | a6011949be081a8fe1bec0713ce60c36beb3a351 (patch) | |
| tree | 0855fa75f38a7361a9b7a9fe12608bd99761add0 /appl/cmd/crypt.b | |
| parent | d42218ac2785e9e4bea53ec499f563cab5747959 (diff) | |
20070714-1142
Diffstat (limited to 'appl/cmd/crypt.b')
| -rw-r--r-- | appl/cmd/crypt.b | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
