]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_codesigning/lib/reqinterp.cpp
Security-59306.61.1.tar.gz
[apple/security.git] / OSX / libsecurity_codesigning / lib / reqinterp.cpp
index 4ea2c53a02c49ff72cc76d61b5bfbcf144c42677..4ff172124ddaeb273f4f0bf0baed7290d9ec2b5c 100644 (file)
@@ -36,6 +36,7 @@
 #include <IOKit/IOCFUnserialize.h>
 #include "csutilities.h"
 #include "notarization.h"
+#include "legacydevid.h"
 
 namespace Security {
 namespace CodeSigning {
@@ -191,6 +192,10 @@ bool Requirement::Interpreter::eval(int depth)
                {
                        return isNotarized(mContext);
                }
+       case opLegacyDevID:
+               {
+                       return meetsDeveloperIDLegacyAllowedPolicy(mContext);
+               }
        default:
                // opcode not recognized - handle generically if possible, fail otherwise
                if (op & (opGenericFalse | opGenericSkip)) {