X-Git-Url: https://git.saurik.com/apple/security.git/blobdiff_plain/b1ab9ed8d0e0f1c3b66d7daa8fd5564444c56195..c38e3ce98599a410a47dc10253faa4d5830f13b2:/libsecurity_codesigning/lib/slcrep.cpp?ds=sidebyside diff --git a/libsecurity_codesigning/lib/slcrep.cpp b/libsecurity_codesigning/lib/slcrep.cpp index 254d651e..12e5a99d 100644 --- a/libsecurity_codesigning/lib/slcrep.cpp +++ b/libsecurity_codesigning/lib/slcrep.cpp @@ -83,6 +83,15 @@ size_t DYLDCacheRep::pageSize(const SigningContext &) } +// +// Signing limit is the start of the (trailing) signature +// +size_t DYLDCacheRep::signingLimit() +{ + return mCache.mapSize(); +} + + // // Retrieve a component from the executable. // Our mCache has mapped the entire file, so we just fish the contents out of