aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2023-05-01 02:36:36 +0000
committerNIIBE Yutaka <[email protected]>2023-05-01 02:36:36 +0000
commit3cf5fc2e2f640a7ad0466b8b5a9bc0108521aa01 (patch)
tree6ec5aee8a84b7fbf8714ea81e07f28137b8a6596 /scd/apdu.c
parentPost release updates (diff)
downloadgnupg-3cf5fc2e2f640a7ad0466b8b5a9bc0108521aa01.tar.gz
gnupg-3cf5fc2e2f640a7ad0466b8b5a9bc0108521aa01.zip
scd: Fix cmd_apdu on error.
* scd/command.c (cmd_apdu): Fix the code path on error. -- GnuPG-bug-id: 6476 Reported-by: Robin Krahl Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd/apdu.c')
-rw-r--r--scd/apdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/apdu.c b/scd/apdu.c
index ffada1d78..deb1134e6 100644
--- a/scd/apdu.c
+++ b/scd/apdu.c
@@ -3260,7 +3260,7 @@ apdu_send_simple (int slot, int extended_mode,
* Out of historical reasons the function returns 0 on success and
* outs the status word at the end of the result to be able to get the
* status word in the case of a not provided RETBUF, R_SW can be used
- * to store the SW. But note that R_SW qill only be set if the
+ * to store the SW. But note that R_SW will only be set if the
* function returns 0. */
int
apdu_send_direct (int slot, size_t extended_length,