]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cdsa_utilities/lib/acl_comment.cpp
Security-59754.80.3.tar.gz
[apple/security.git] / OSX / libsecurity_cdsa_utilities / lib / acl_comment.cpp
index 8cf7501f739dd5eaf728adc7f12cc547ff0d16aa..dccd5d931941096de23c13bdd1e281e071c48b2f 100644 (file)
@@ -52,7 +52,7 @@ using namespace DataWalkers;
 //
 // The COMMENT subject matches nothing, no matter how pretty.
 //
-bool CommentAclSubject::validate(const AclValidationContext &) const
+bool CommentAclSubject::validates(const AclValidationContext &) const
 {
        return false;
 }
@@ -104,9 +104,7 @@ CommentAclSubject *CommentAclSubject::Maker::make(Version, Reader &pub, Reader &
        // Phew. I'd rather be lucky than good...
        //
        // So let's get started:
-#ifndef NDEBUG
        static const size_t minCssmList = 12;   // min(sizeof(CSSM_LIST)) of all architectures
-#endif
        pub.get<void>(4);                       // skip first 4 bytes
        uint32_t lop; pub(lop);         // read L4n-or-(bottom of)P8h
        uint32_t tol; pub(tol);         // read T4h-or-L4n