Skip to content

Commit 0c2fd7d

Browse files
committed
chore: PR feedback changes.
1 parent 2043fd0 commit 0c2fd7d

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,6 @@ impl Reader {
110110
}
111111
}
112112

113-
// pub fn validation_state(&self) -> Result<ValidationState> {
114-
// if let Ok(st) = self.reader.validation_state() {
115-
// Ok(st.validation_state())
116-
// } else {
117-
// Err(Error::RwLock)
118-
// }
119-
// }
120-
121113
pub fn resource_to_stream(&self, uri: &str, stream: &dyn Stream) -> Result<u64> {
122114
if let Ok(reader) = self.reader.try_read() {
123115
let mut stream = StreamAdapter::from(stream);

tests/fixtures/settings.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# This sample c2pa settings file enables a trust list.
2+
# We use the toml format here because it does a good job of containing the PEM formatted certificates.
23
# In practice you should update the trust anchors from a remote source as needed.
34
# Many other settings are available, see the c2pa documentation for more information.
45
[verify]

0 commit comments

Comments
 (0)