aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-common.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2021-05-11 07:04:19 +0000
committerWerner Koch <[email protected]>2021-05-11 07:06:34 +0000
commit965bb0693c0df04e6dbd57a8b471944367cf6c4e (patch)
tree3d038894faf6e52c451d2a58cccfca0766b2b2be /scd/app-common.h
parentgpg: Fix allocation for EXTRAHASH. (diff)
downloadgnupg-965bb0693c0df04e6dbd57a8b471944367cf6c4e.tar.gz
gnupg-965bb0693c0df04e6dbd57a8b471944367cf6c4e.zip
A few minor code cleanups and typo fixes.
* agent/command-ssh.c (ssh_handler_request_identities): Remove double check of ERR. * g10/getkey.c (get_pubkey_byname): Remove double use of break. * g10/pkglue.c (pk_encrypt): Handle possible NULL-ptr access due to failed malloc. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'scd/app-common.h')
-rw-r--r--scd/app-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scd/app-common.h b/scd/app-common.h
index f194828a9..dffe1200d 100644
--- a/scd/app-common.h
+++ b/scd/app-common.h
@@ -45,7 +45,7 @@
/* Flags used by the app_write_learn_status. */
#define APP_LEARN_FLAG_KEYPAIRINFO 1 /* Return only keypair infos. */
#define APP_LEARN_FLAG_MULTI 2 /* Return info for all apps. */
-#define APP_LEARN_FLAG_REREAD 4 /* Re-read ifnos from the token. */
+#define APP_LEARN_FLAG_REREAD 4 /* Re-read infos from the token. */
/* List of supported card types. Generic is the usual ISO7817-4