Skip to content

Commit b6a1d30

Browse files
committed
android: derive Default for Verifier.
This matches the other per-platform `Verifier` structs and will avoid a clippy warning once the type is part of the public API.
1 parent b25faa4 commit b6a1d30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/verification/android.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ enum VerifierStatus {
3434
// official recommendation. See https://bugs.chromium.org/p/chromium/issues/detail?id=627154.
3535
const AUTH_TYPE: &str = "RSA";
3636

37+
#[derive(Default)]
3738
pub struct Verifier {
3839
/// Testing only: The root CA certificate to trust.
3940
#[cfg(any(test, feature = "ffi-testing"))]

0 commit comments

Comments
 (0)