remove warning, reduce memory

pull/149/head
Conor Patrick 2019-03-20 23:14:17 -04:00
rodzic dbe5283e1f
commit 142d4002e5
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -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)