diff --git a/winpr/libwinpr/ncrypt/ncrypt_pkcs11.c b/winpr/libwinpr/ncrypt/ncrypt_pkcs11.c index 573fea0ca..d9eba73a1 100644 --- a/winpr/libwinpr/ncrypt/ncrypt_pkcs11.c +++ b/winpr/libwinpr/ncrypt/ncrypt_pkcs11.c @@ -476,7 +476,7 @@ static BOOL convertKeyType(CK_KEY_TYPE k, LPWSTR dest, DWORD len, DWORD* outlen) ALGO_CASE(CKK_RSA, BCRYPT_RSA_ALGORITHM); ALGO_CASE(CKK_DSA, BCRYPT_DSA_ALGORITHM); ALGO_CASE(CKK_DH, BCRYPT_DH_ALGORITHM); - ALGO_CASE(CKK_ECDSA, BCRYPT_ECDSA_ALGORITHM); + ALGO_CASE(CKK_EC, BCRYPT_ECDSA_ALGORITHM); ALGO_CASE(CKK_RC2, BCRYPT_RC2_ALGORITHM); ALGO_CASE(CKK_RC4, BCRYPT_RC4_ALGORITHM); ALGO_CASE(CKK_DES, BCRYPT_DES_ALGORITHM);