]> git.saurik.com Git - apple/security.git/blobdiff - OSX/libsecurity_cdsa_utilities/lib/cssmcred.h
Security-59306.61.1.tar.gz
[apple/security.git] / OSX / libsecurity_cdsa_utilities / lib / cssmcred.h
index 1b70b7675652251846d7fbead371a3efdfdf4316..2a827f1873a924671518534ba0a6ee8efe60ce27 100644 (file)
@@ -102,11 +102,11 @@ public:
     bool authorizesUI() const;
 
 public:
     bool authorizesUI() const;
 
 public:
-    static const AccessCredentials &null;      // all null credential
+    static const AccessCredentials& null_credential();
        
        // turn NULL into a null credential if needed
        static const AccessCredentials *needed(const CSSM_ACCESS_CREDENTIALS *cred)
        
        // turn NULL into a null credential if needed
        static const AccessCredentials *needed(const CSSM_ACCESS_CREDENTIALS *cred)
-       { return cred ? overlay(cred) : &null; }
+       { return cred ? overlay(cred) : &null_credential(); }
 };
 
 
 };