There was an error while loading. Please reload this page.
1 parent 2c1e531 commit 86e3d14Copy full SHA for 86e3d14
1 file changed
src/fido/cbor_get_info.c
@@ -140,7 +140,7 @@ int cbor_get_info(void) {
140
CBOR_CHECK(cbor_encode_text_stringz(&arrayEncoder, "setMinPINLength"));
141
CBOR_CHECK(cbor_encode_boolean(&arrayEncoder, true));
142
CBOR_CHECK(cbor_encode_text_stringz(&arrayEncoder, "makeCredUvNotRqd"));
143
- CBOR_CHECK(cbor_encode_boolean(&arrayEncoder, alwaysUv ? false : get_opts() & FIDO2_OPT_MCUV_NOTRQD));
+ CBOR_CHECK(cbor_encode_boolean(&arrayEncoder, get_opts() & FIDO2_OPT_AUV ? false : get_opts() & FIDO2_OPT_MCUV_NOTRQD));
144
CBOR_CHECK(cbor_encoder_close_container(&mapEncoder, &arrayEncoder));
145
146
CBOR_CHECK(cbor_encode_uint(&mapEncoder, 0x05));
0 commit comments