mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
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 <wk@gnupg.org>
This commit is contained in:
parent
ac731dbbbd
commit
965bb0693c
6 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue