Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions OSX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if (BUILD_TARGET_64BIT)
)

set (generate-security-exp-depends ${generate-security-exp-depends}
${CMAKE_CURRENT_BINARY_DIR}/Security.x86_64.exp
${CMAKE_CURRENT_BINARY_DIR}/Security.${APPLE_ARCH_64BIT}.exp
)
endif ()

Expand All @@ -115,7 +115,7 @@ if (BUILD_TARGET_32BIT)
)

set (generate-security-exp-depends ${generate-security-exp-depends}
${CMAKE_CURRENT_BINARY_DIR}/Security.i386.exp
${CMAKE_CURRENT_BINARY_DIR}/Security.${APPLE_ARCH_32BIT}.exp
)
endif ()

Expand Down
2 changes: 2 additions & 0 deletions OSX/sec/Security/SecExports.exp-in
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,9 @@ _SecCertificateCopyNormalizedIssuerContent
_SecCertificateCopyNormalizedSubjectContent
_SecCertificateCopyPreference
_SecCertificateCopyPreferred
#if !TARGET_CPU_ARM64
_SecCertificateCopyPublicKey_ios
#endif
_SecCertificateCopyPublicKeySHA1DigestFromCertificateData
_SecCertificateCopyShortDescription
_SecCertificateCopySubjectComponent
Expand Down
2 changes: 1 addition & 1 deletion SecurityTool/macOS/security.c
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ const command commands[] =
"<requirements> [<DER certificate file> ...]\n"
"Evaluates the given requirement string against the given cert chain.",
"Evaluate a requirement against a cert chain." },
#if TARGET_OS_OSX && TARGET_CPU_ARM64
#if TARGET_OS_OSX && TARGET_CPU_ARM64 && !defined(DARLING)
{ "filevault" , fvunlock,
"skip-sc-enforcement <data volume UUID> <operation>\n"
" data volume UUID can by obtained by running diskutil apfs list"
Expand Down