kopia lustrzana https://github.com/solokeys/solo1
remove warning, reduce memory
rodzic
dbe5283e1f
commit
142d4002e5
|
@ -386,7 +386,6 @@ static int ctap_make_extensions(CTAP_extensions * ext, uint8_t * ext_encoder_buf
|
|||
cbor_encoder_init(&extensions, ext_encoder_buf, *ext_encoder_buf_size, 0);
|
||||
printf1(TAG_GREEN, "have %d bytes for Extenstions encoder\r\n",*ext_encoder_buf_size);
|
||||
CborEncoder ext_map;
|
||||
CborEncoder hmac_secret_map;
|
||||
ret = cbor_encoder_create_map(&extensions, &ext_map, 1);
|
||||
check_ret(ret);
|
||||
{
|
||||
|
@ -1088,7 +1087,7 @@ uint8_t ctap_get_next_assertion(CborEncoder * encoder)
|
|||
uint8_t ctap_get_assertion(CborEncoder * encoder, uint8_t * request, int length)
|
||||
{
|
||||
CTAP_getAssertion GA;
|
||||
uint8_t auth_data_buf[sizeof(CTAP_authDataHeader) + 128];
|
||||
uint8_t auth_data_buf[sizeof(CTAP_authDataHeader) + 100];
|
||||
int ret = ctap_parse_get_assertion(&GA,request,length);
|
||||
|
||||
if (ret != 0)
|
||||
|
|
Ładowanie…
Reference in New Issue