Changeset 01e6342 in OpenSC


Ignore:
Timestamp:
06/11/11 07:30:46 (12 months ago)
Author:
Peter Marschall <peter@…>
Branches:
master, staging
Children:
e3fca4a
Parents:
98630728
git-author:
Peter Marschall <peter@…> (05/31/11 12:16:21)
git-committer:
Peter Marschall <peter@…> (06/11/11 07:30:46)
Message:

OpenPGP: fix algorithms & key lengths calculation

Also include forgotten DO C3 in keylength calculation.
It contains the parameters for the authentication key.

Signed-off-by: Peter Marschall <peter@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libopensc/card-openpgp.c

    rbbcb867 r01e6342  
    401401 
    402402                /* get supported algorithms & key lengths from "algorithm attributes" DOs */ 
    403                 for (i = 0x00c1; i < 0x0c3; i++) { 
     403                for (i = 0x00c1; i <= 0x00c3; i++) { 
    404404                        unsigned long flags; 
    405405 
Note: See TracChangeset for help on using the changeset viewer.