diff options
author | Werner Koch <wk@gnupg.org> | 2006-10-02 13:54:35 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2006-10-02 13:54:35 +0200 |
commit | 4b48bcacc9a242365e85ca788c4c966d8aeb1c10 (patch) | |
tree | 21e803ec571bbe4d9288e014a16ccafe0ac45056 /g10/skclist.c | |
parent | 2006-10-02 Marcus Brinkmann <marcus@g10code.de> (diff) | |
download | gnupg2-4b48bcacc9a242365e85ca788c4c966d8aeb1c10.tar.xz gnupg2-4b48bcacc9a242365e85ca788c4c966d8aeb1c10.zip |
Fix for bug 537
Diffstat (limited to 'g10/skclist.c')
-rw-r--r-- | g10/skclist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/g10/skclist.c b/g10/skclist.c index d9a9d5e9f..5aeaa78ff 100644 --- a/g10/skclist.c +++ b/g10/skclist.c @@ -115,7 +115,7 @@ key_present_in_sk_list(SK_LIST sk_list, PKT_secret_key *sk) } static int -is_duplicated_entry (STRLIST list, STRLIST item) +is_duplicated_entry (strlist_t list, strlist_t item) { for(; list && list != item; list = list->next) { if ( !strcmp (list->d, item->d) ) @@ -126,7 +126,7 @@ is_duplicated_entry (STRLIST list, STRLIST item) int -build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, +build_sk_list( strlist_t locusr, SK_LIST *ret_sk_list, int unlock, unsigned int use ) { SK_LIST sk_list = NULL; @@ -168,7 +168,7 @@ build_sk_list( STRLIST locusr, SK_LIST *ret_sk_list, } } else { - STRLIST locusr_orig = locusr; + strlist_t locusr_orig = locusr; for(; locusr; locusr = locusr->next ) { PKT_secret_key *sk; |