Modified dependencies for fuzzing to work
This commit is contained in:
@@ -163,7 +163,6 @@ impl CtapHid {
|
|||||||
Ok(Some(message)) => {
|
Ok(Some(message)) => {
|
||||||
#[cfg(feature = "debug_ctap")]
|
#[cfg(feature = "debug_ctap")]
|
||||||
writeln!(&mut Console::new(), "Received message: {:02x?}", message).unwrap();
|
writeln!(&mut Console::new(), "Received message: {:02x?}", message).unwrap();
|
||||||
|
|
||||||
let cid = message.cid;
|
let cid = message.cid;
|
||||||
if !self.has_valid_channel(&message) {
|
if !self.has_valid_channel(&message) {
|
||||||
#[cfg(feature = "debug_ctap")]
|
#[cfg(feature = "debug_ctap")]
|
||||||
|
|||||||
@@ -11,7 +11,6 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#[cfg(feature = "with_ctap2_1")]
|
#[cfg(feature = "with_ctap2_1")]
|
||||||
use crate::ctap::data_formats::{extract_array, extract_text_string};
|
use crate::ctap::data_formats::{extract_array, extract_text_string};
|
||||||
use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialSource};
|
use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialSource};
|
||||||
|
|||||||
@@ -23,6 +23,10 @@ extern crate cbor;
|
|||||||
extern crate lang_items;
|
extern crate lang_items;
|
||||||
extern crate libtock_core;
|
extern crate libtock_core;
|
||||||
extern crate libtock_drivers;
|
extern crate libtock_drivers;
|
||||||
|
#[macro_use]
|
||||||
|
extern crate cbor;
|
||||||
|
#[macro_use]
|
||||||
|
extern crate arrayref;
|
||||||
|
|
||||||
pub mod ctap;
|
pub mod ctap;
|
||||||
pub mod embedded_flash;
|
pub mod embedded_flash;
|
||||||
|
|||||||
Reference in New Issue
Block a user