Fix typo on CKF_EC_UNCOMPRESS

This commit is contained in:
Mathias Brossard 2015-01-20 22:58:13 -08:00
parent c3a0bbc715
commit 17c1cffb3d
2 changed files with 2 additions and 2 deletions

View File

@ -4541,7 +4541,7 @@ static int register_ec_mechanisms(struct sc_pkcs11_card *p11card, int flags,
if (ext_flags & SC_ALGORITHM_EXT_EC_NAMEDCURVE)
ec_flags |= CKF_EC_NAMEDCURVE;
if (ext_flags & SC_ALGORITHM_EXT_EC_UNCOMPRESES)
ec_flags |= CKF_EC_UNCOMPRESES;
ec_flags |= CKF_EC_UNCOMPRESS;
if (ext_flags & SC_ALGORITHM_EXT_EC_COMPRESS)
ec_flags |= CKF_EC_COMPRESS;

View File

@ -715,7 +715,7 @@ struct ck_mechanism_info
#define CKF_EC_F_2M (1UL << 21)
#define CKF_EC_ECPARAMETERS (1UL << 22)
#define CKF_EC_NAMEDCURVE (1UL << 23)
#define CKF_EC_UNCOMPRESES (1UL << 24)
#define CKF_EC_UNCOMPRESS (1UL << 24)
#define CKF_EC_COMPRESS (1UL << 25)
/* Flags for C_WaitForSlotEvent. */