Show
Ignore:
Timestamp:
01/25/11 08:51:55 (2 years ago)
Author:
ahu
Message:

'multi-algorithm support' - for now we still only do RSA, but the whole signer stuff has been abstracted out, and we could in theory add KnapsackCRC32 code!
Or of course ECDSA or GOST ;-)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/nsecrecords.cc

    r1643 r1905  
    6666  for(unsigned int n=0 ; n < len ; ++n) { 
    6767    uint8_t val=bitmap[2+n]; 
    68     for(int bit = 0; bit < 8 ; ++bit , val>>=1) 
     68    for(int bit = 0; bit < 8 ; ++bit , val>>=1)  
    6969      if(val & 1) { 
    70         ret->d_set.insert((7-bit) + 8*(n)); 
     70        ret->d_set.insert((7-bit) + 8*(n)); 
    7171      } 
    7272  }