1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-02 22:46:30 +02:00

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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2020-01-03 11:43:55 +01:00
parent f4da1455c7
commit c0625c15c1
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
3 changed files with 3 additions and 3 deletions

View file

@ -788,7 +788,7 @@ select_additional_application_internal (card_t card, apptype_t req_apptype)
/* Add all possible additional applications to the card context but do
* not change the current one. This current works only for Yubikeys. */
* not change the current one. This currently works only for Yubikeys. */
static gpg_error_t
select_all_additional_applications_internal (card_t card)
{