mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
See ChangeLog: Sun Apr 18 20:48:15 CEST 1999 Werner Koch
This commit is contained in:
parent
1feae2011c
commit
ebb0ed57c7
4 changed files with 14 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue