From 986d928ce2a561b04fda7730de6a94f9b1e703d6 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 18 Sep 2000 14:35:34 +0000 Subject: See ChangeLog: Mon Sep 18 16:35:45 CEST 2000 Werner Koch --- g10/skclist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'g10/skclist.c') diff --git a/g10/skclist.c b/g10/skclist.c index 8fcb22aba..5c6d6fbd7 100644 --- a/g10/skclist.c +++ b/g10/skclist.c @@ -59,7 +59,7 @@ build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, int unlock, PKT_secret_key *sk; sk = gcry_xcalloc( 1, sizeof *sk ); - sk->pubkey_usage = use; + sk->req_usage = use; if( (rc = get_seckey_byname( sk, NULL, unlock )) ) { free_secret_key( sk ); sk = NULL; log_error("no default secret key: %s\n", gpg_errstr(rc) ); @@ -90,7 +90,7 @@ build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, int unlock, PKT_secret_key *sk; sk = gcry_xcalloc( 1, sizeof *sk ); - sk->pubkey_usage = use; + sk->req_usage = use; if( (rc = get_seckey_byname( sk, locusr->d, unlock )) ) { free_secret_key( sk ); sk = NULL; log_error(_("skipped `%s': %s\n"), locusr->d, gpg_errstr(rc) ); -- cgit v1.2.3