]> git.saurik.com Git - apple/security.git/blobdiff - securityd/src/credential.cpp
Security-59754.80.3.tar.gz
[apple/security.git] / securityd / src / credential.cpp
index fbd703a1ce9034465627f56466b2ef1cdab18fe2..3da55c7f272835dad134f5877e6764bead8bce7c 100644 (file)
@@ -132,10 +132,11 @@ CredentialImpl::merge(const CredentialImpl &other)
 {
     // try to ensure that the credentials are the same type
     assert(mRight == other.mRight);
 {
     // try to ensure that the credentials are the same type
     assert(mRight == other.mRight);
-    if (mRight)
+    if (mRight) {
         assert(mName == other.mName);
         assert(mName == other.mName);
-    else 
+    } else {
         assert(mUid == other.mUid);
         assert(mUid == other.mUid);
+    }
 
     if (other.mValid && (!mValid || mCreationTime < other.mCreationTime))
     {
 
     if (other.mValid && (!mValid || mCreationTime < other.mCreationTime))
     {