diff options
author | Werner Koch <wk@gnupg.org> | 1999-04-18 20:53:34 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 1999-04-18 20:53:34 +0200 |
commit | ebb0ed57c743e383db488e7936f287be0abbb6ec (patch) | |
tree | 3bf4151bf0725e138bc9cf89d4c3105b32a58e01 /g10/pkclist.c | |
parent | See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch (diff) | |
download | gnupg2-ebb0ed57c743e383db488e7936f287be0abbb6ec.tar.xz gnupg2-ebb0ed57c743e383db488e7936f287be0abbb6ec.zip |
See ChangeLog: Sun Apr 18 20:48:15 CEST 1999 Werner Koch
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r-- | g10/pkclist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c index 57c36cee2..73e8f3889 100644 --- a/g10/pkclist.c +++ b/g10/pkclist.c @@ -756,9 +756,9 @@ select_algo_from_prefs( PK_LIST pk_list, int preftype ) if( pref ) { for(j=0; j+1 < npref; j+=2 ) { if( pref[j] == preftype ) { - any = 1; if( (bits[pref[j+1]/32] & (1<<(pref[j+1]%32))) ) { if( algo_available( preftype, pref[j+1] ) ) { + any = 1; i = pref[j+1]; break; } |