Skip to content

Commit 2c1e531

Browse files
committed
Remove unused vendor command ids.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
1 parent 15f2b84 commit 2c1e531

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/fido/cbor_get_info.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -230,12 +230,6 @@ int cbor_get_info(void) {
230230
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_AUT_ENABLE));
231231
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_NORK));
232232
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PIN_POLICY));
233-
#ifndef ENABLE_EMULATION
234-
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PHY_LED_BTNESS));
235-
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PHY_LED_GPIO));
236-
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PHY_VIDPID));
237-
CBOR_CHECK(cbor_encode_uint(&arrayEncoder, CTAP_CONFIG_PHY_OPTS));
238-
#endif
239233
CBOR_CHECK(cbor_encoder_close_container(&mapEncoder, &arrayEncoder));
240234
#ifndef ENABLE_EMULATION
241235
}

src/fido/ctap.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,12 +118,6 @@ typedef struct {
118118
#define CTAP_CONFIG_AUT_ENABLE 0x00043f56b34285e2
119119
#define CTAP_CONFIG_NORK 0x00052b41f53590d3
120120
#define CTAP_CONFIG_PIN_POLICY 0x0007d70fe96c3897
121-
#ifndef ENABLE_EMULATION
122-
#define CTAP_CONFIG_PHY_LED_BTNESS 0x00185945985d02fd
123-
#define CTAP_CONFIG_PHY_LED_GPIO 0x00192a394de9f948
124-
#define CTAP_CONFIG_PHY_VIDPID 0x001b19b0cbe3acfa
125-
#define CTAP_CONFIG_PHY_OPTS 0x001f3b09eceb805f
126-
#endif
127121

128122
#define CTAP_VENDOR_CBOR (CTAPHID_VENDOR_FIRST + 1)
129123

0 commit comments

Comments
 (0)