Skip to content

Commit b6d612b

Browse files
committed
android: reduce visibility of new_with_fake_root.
The `new_with_fake_root` constructor is only used by crate internal test code. This commit changes the visbility to be crate-internal, matching the other `Verifier`s.
1 parent b6a1d30 commit b6d612b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/verification/android.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl Verifier {
6363
}
6464

6565
#[cfg(any(test, feature = "ffi-testing"))]
66-
pub fn new_with_fake_root(root: &[u8]) -> Self {
66+
pub(crate) fn new_with_fake_root(root: &[u8]) -> Self {
6767
Self {
6868
test_only_root_ca_override: Some(root.into()),
6969
}

0 commit comments

Comments
 (0)