diff options
author | Werner Koch <[email protected]> | 2019-02-21 07:40:59 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-02-21 07:51:53 +0000 |
commit | 5ecc7a02609dde65096ddb12e0ff8f6bce3b774a (patch) | |
tree | 050773c2dc2deca0c35979ce3373be381f085389 | |
parent | sm: Prepare algo mapping to handle values > 255. (diff) | |
download | gnupg-5ecc7a02609dde65096ddb12e0ff8f6bce3b774a.tar.gz gnupg-5ecc7a02609dde65096ddb12e0ff8f6bce3b774a.zip |
scd: Don't let the "undefined" app cause a conflict error.
* scd/app.c (check_conflict): Ignore "undefined".
Signed-off-by: Werner Koch <[email protected]>
-rw-r--r-- | scd/app.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -121,6 +121,9 @@ check_conflict (app_t app, const char *name) if (!app || !name || (app->apptype && !ascii_strcasecmp (app->apptype, name))) return 0; + if (app->apptype && !strcmp (app->apptype, "UNDEFINED")) + return 0; + log_info ("application '%s' in use - can't switch\n", app->apptype? app->apptype : "<null>"); |