aboutsummaryrefslogtreecommitdiffstats
path: root/g10/card-util.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2005-02-15 11:02:32 +0000
committerWerner Koch <[email protected]>2005-02-15 11:02:32 +0000
commitbb71180d07b0ce8a2293acf61541cf631f285012 (patch)
tree895410ed291b16654608a02c407b93db7adba325 /g10/card-util.c
parent* curl-shim.c (curl_easy_perform): Fix compile warning. (diff)
downloadgnupg-bb71180d07b0ce8a2293acf61541cf631f285012.tar.gz
gnupg-bb71180d07b0ce8a2293acf61541cf631f285012.zip
* gpg.sgml: Add bkuptocard command for --edit-key.
* passphrase.c (agent_get_passphrase): Don't call free_public_key if PK is NULL. (passphrase_clear_cache): Ditto. Removed debug output. (passphrase_to_dek): Ditto.
Diffstat (limited to 'g10/card-util.c')
-rw-r--r--g10/card-util.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/card-util.c b/g10/card-util.c
index 3b67400a4..928a5af5e 100644
--- a/g10/card-util.c
+++ b/g10/card-util.c
@@ -1122,9 +1122,10 @@ card_generate_subkey (KBNODE pub_keyblock, KBNODE sec_keyblock)
}
-/* Store the subkey at NODE into the smartcard and modify NODE to
- carry the serrialno stuff instead of the actual secret key
- parameters. */
+/* Store the key at NODE into the smartcard and modify NODE to
+ carry the serialno stuff instead of the actual secret key
+ parameters. USE is the usage for that key; 0 means any
+ usage. */
int
card_store_subkey (KBNODE node, int use)
{