aboutsummaryrefslogtreecommitdiffstats
path: root/agent/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-10-05 11:06:42 +0000
committerWerner Koch <[email protected]>2006-10-05 11:06:42 +0000
commit158a69aff7b75fa3a6bd5e6990520852c602ae03 (patch)
treeac99d3084ba3aa1bf33fa245bff546a6afa85092 /agent/command.c
parent* gpgrlhelp.c: readline requires stdio.h. (diff)
downloadgnupg-158a69aff7b75fa3a6bd5e6990520852c602ae03.tar.gz
gnupg-158a69aff7b75fa3a6bd5e6990520852c602ae03.zip
bug fixes
Diffstat (limited to 'agent/command.c')
-rw-r--r--agent/command.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/command.c b/agent/command.c
index 900bfee01..a8a701f95 100644
--- a/agent/command.c
+++ b/agent/command.c
@@ -470,7 +470,7 @@ cmd_sethash (assuan_context_t ctx, char *line)
char *endp;
int algo;
- /* parse the algo number and check it */
+ /* Parse the algo number and check it. */
algo = (int)strtoul (line, &endp, 10);
for (line = endp; *line == ' ' || *line == '\t'; line++)
;
@@ -478,7 +478,7 @@ cmd_sethash (assuan_context_t ctx, char *line)
return set_error (GPG_ERR_UNSUPPORTED_ALGORITHM, NULL);
ctrl->digest.algo = algo;
- /* parse the hash value */
+ /* Parse the hash value. */
rc = parse_hexstring (ctx, line, &n);
if (rc)
return rc;