c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit bf68a98c0bbec7c34b398d2597c88f013894310f
parent bc44a8dc8cf6d613b0ff62bd35cbc1cc7a19a77e
Author: Eric Scouten <scouten@adobe.com>
Date:   Fri,  8 Mar 2024 13:12:22 -0800

(MINOR) Remove testing function that was inadvertently public (#421)

Fix build error when building from crates.io with openssl_sign feature
Diffstat:
Msdk/src/utils/test.rs | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sdk/src/utils/test.rs b/sdk/src/utils/test.rs @@ -313,7 +313,8 @@ impl crate::AsyncSigner for AsyncTestGoodSigner { /// # Returns /// /// Returns a boxed [`Signer`] instance. -pub fn temp_signer() -> Box<dyn Signer> { +#[cfg(test)] +pub(crate) fn temp_signer() -> Box<dyn Signer> { #[cfg(feature = "openssl_sign")] { #![allow(clippy::expect_used)]