]> git.saurik.com Git - apple/security.git/blobdiff - libsecurity_codesigning/lib/slcrep.cpp
Security-55179.13.tar.gz
[apple/security.git] / libsecurity_codesigning / lib / slcrep.cpp
index 254d651e501a205975a6092b5a63af8fdc2d93e3..12e5a99d93a343e4e55941252e5ed60a077ec1fc 100644 (file)
@@ -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