From e230a9464ec66ab36097b8e8fd2b095304848537 Mon Sep 17 00:00:00 2001 From: Conor Patrick Date: Thu, 7 Feb 2019 20:09:13 -0500 Subject: [PATCH] enable ctap from usb --- fido2/ctaphid.c | 12 ++++++------ targets/stm32l432/src/app.h | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/fido2/ctaphid.c b/fido2/ctaphid.c index 3e6d5f1..3e5306f 100644 --- a/fido2/ctaphid.c +++ b/fido2/ctaphid.c @@ -1,21 +1,21 @@ /* * Copyright (C) 2018 SoloKeys, Inc. - * + * * This file is part of Solo. - * + * * Solo is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. - * + * * Solo is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with Solo. If not, see - * + * * This code is available under licenses for commercial use. * Please contact SoloKeys for more information. */ @@ -636,7 +636,7 @@ uint8_t ctaphid_handle_packet(uint8_t * pkt_raw) } is_busy = 1; ctap_response_init(&ctap_resp); - status = ctap_request(ctap_buffer, len, &ctap_resp); + status = ctap_request(ctap_buffer, len, &ctap_resp, 0); ctaphid_write_buffer_init(&wb); wb.cid = cid; diff --git a/targets/stm32l432/src/app.h b/targets/stm32l432/src/app.h index b37296b..f4d333a 100644 --- a/targets/stm32l432/src/app.h +++ b/targets/stm32l432/src/app.h @@ -40,9 +40,9 @@ #define ENABLE_U2F -#define DISABLE_CTAPHID_PING -#define DISABLE_CTAPHID_WINK -#define DISABLE_CTAPHID_CBOR +// #define DISABLE_CTAPHID_PING +// #define DISABLE_CTAPHID_WINK +// #define DISABLE_CTAPHID_CBOR void printing_init(); void hw_init(int lf);