aboutsummaryrefslogtreecommitdiffstats
path: root/scd/command.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2020-01-03 10:43:55 +0000
committerWerner Koch <[email protected]>2020-01-03 10:43:55 +0000
commitc0625c15c1fb6d06202669eb8caff2710377952d (patch)
treeee066f3d1cf4fcca2c466b4b9373241f97a25cf3 /scd/command.c
parentkbx: Initial support for an SQLite backend (diff)
downloadgnupg-c0625c15c1fb6d06202669eb8caff2710377952d.tar.gz
gnupg-c0625c15c1fb6d06202669eb8caff2710377952d.zip
scd: Minor fix for readibility.
* scd/command.c (open_card_with_request): Use NULL instead of APPTYPE_NULL. -- Using the enum is wrong because a string is expected. However it did harm anything because the value of the enum is 0 and thus equivalent to NULL. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/command.c')
-rw-r--r--scd/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/command.c b/scd/command.c
index e5cf98fcb..3d82469af 100644
--- a/scd/command.c
+++ b/scd/command.c
@@ -263,7 +263,7 @@ open_card_with_request (ctrl_t ctrl,
err = select_application (ctrl, apptypestr, &ctrl->card_ctx, 1,
serialno_bin, serialno_bin_len);
if (!err && opt_all)
- err = select_additional_application (ctrl, APPTYPE_NONE);
+ err = select_additional_application (ctrl, NULL);
leave:
xfree (serialno_bin);