Adding default options on make cred.

Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
Pol Henarejos
2022-09-25 18:09:46 +02:00
parent 074dd80afe
commit 48f358cb19

View File

@@ -43,6 +43,10 @@ int cbor_make_credential(const uint8_t *data, size_t len) {
uint8_t *aut_data = NULL;
size_t resp_size = 0;
CredExtensions extensions = {0};
//options.present = true;
options.up = ptrue;
options.uv = pfalse;
options.rk = pfalse;
CBOR_CHECK(cbor_parser_init(data, len, 0, &parser, &map));
uint64_t val_c = 1;