diff --git a/src/fido/cbor_get_info.c b/src/fido/cbor_get_info.c index 5cb1379..853f1da 100644 --- a/src/fido/cbor_get_info.c +++ b/src/fido/cbor_get_info.c @@ -117,7 +117,7 @@ int cbor_get_info() { CBOR_CHECK(COSE_public_key(FIDO2_ALG_ES384, &arrayEncoder, &mapEncoder2)); CBOR_CHECK(COSE_public_key(FIDO2_ALG_ES512, &arrayEncoder, &mapEncoder2)); #ifndef ENABLE_EMULATION - if (!phy_data.enabled_curves_present || (phy_data.enabled_curves & PHY_CURVE_SECP256K1)) { + if (phy_data.enabled_curves & PHY_CURVE_SECP256K1) { #endif CBOR_CHECK(COSE_public_key(FIDO2_ALG_ES256K, &arrayEncoder, &mapEncoder2)); #ifndef ENABLE_EMULATION