aboutsummaryrefslogtreecommitdiffstats
path: root/g10/skclist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2000-10-06 12:28:44 +0000
committerWerner Koch <[email protected]>2000-10-06 12:28:44 +0000
commit14974bc5d70604577b7088a39e7eb175cafd418a (patch)
treeae5aa26daa1342b77a7ceb0f0295950dff3b3557 /g10/skclist.c
parentSee ChangeLog: Wed Oct 4 13:16:18 CEST 2000 Werner Koch (diff)
downloadgnupg-14974bc5d70604577b7088a39e7eb175cafd418a.tar.gz
gnupg-14974bc5d70604577b7088a39e7eb175cafd418a.zip
See ChangeLog: Fri Oct 6 14:29:16 CEST 2000 Werner Koch
Diffstat (limited to 'g10/skclist.c')
-rw-r--r--g10/skclist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/skclist.c b/g10/skclist.c
index dceba71f8..bc325cd58 100644
--- a/g10/skclist.c
+++ b/g10/skclist.c
@@ -60,7 +60,7 @@ build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, int unlock,
sk = gcry_xcalloc( 1, sizeof *sk );
sk->req_usage = use;
- if( (rc = get_seckey_byname( sk, NULL, unlock )) ) {
+ if( (rc = get_seckey_byname( NULL, sk, NULL, unlock, NULL )) ) {
free_secret_key( sk ); sk = NULL;
log_error("no default secret key: %s\n", gpg_errstr(rc) );
}
@@ -93,7 +93,7 @@ build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, int unlock,
sk = gcry_xcalloc( 1, sizeof *sk );
sk->req_usage = use;
- if( (rc = get_seckey_byname( sk, locusr->d, unlock )) ) {
+ if( (rc = get_seckey_byname( NULL, sk, locusr->d, unlock, NULL))) {
free_secret_key( sk ); sk = NULL;
log_error(_("skipped `%s': %s\n"), locusr->d, gpg_errstr(rc) );
}