diff --git a/security-framework/src/os/macos/code_signing.rs b/security-framework/src/os/macos/code_signing.rs index 0a3a9c9a..504d1b31 100644 --- a/security-framework/src/os/macos/code_signing.rs +++ b/security-framework/src/os/macos/code_signing.rs @@ -283,7 +283,7 @@ impl SecStaticCode { code.as_mut_ptr(), ))?; - Ok(Self::wrap_under_get_rule(code.assume_init())) + Ok(Self::wrap_under_create_rule(code.assume_init())) } }