Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzzing MVP #149

Merged
merged 11 commits into from
Sep 23, 2020
Next Next commit
Modified dependencies for fuzzing to work
  • Loading branch information
mingxguo27 committed Sep 23, 2020
commit 5d734445ea91e0fca7ce1f7668ffb01fbacc3c99
1 change: 0 additions & 1 deletion src/ctap/hid/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ impl CtapHid {
Ok(Some(message)) => {
#[cfg(feature = "debug_ctap")]
writeln!(&mut Console::new(), "Received message: {:02x?}", message).unwrap();

let cid = message.cid;
if !self.has_valid_channel(&message) {
#[cfg(feature = "debug_ctap")]
Expand Down
1 change: 0 additions & 1 deletion src/ctap/storage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

#[cfg(feature = "with_ctap2_1")]
use crate::ctap::data_formats::{extract_array, extract_text_string};
use crate::ctap::data_formats::{CredentialProtectionPolicy, PublicKeyCredentialSource};
Expand Down
4 changes: 4 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ extern crate cbor;
extern crate lang_items;
extern crate libtock_core;
extern crate libtock_drivers;
#[macro_use]
extern crate cbor;
#[macro_use]
mingxguo27 marked this conversation as resolved.
Show resolved Hide resolved
extern crate arrayref;

pub mod ctap;
pub mod embedded_flash;