Ensure inf+ log messages are free of private information.
This commit is contained in:
parent
37532f0ce5
commit
44a2a67417
@ -65,13 +65,9 @@ bool mpw_update_master_key(MPMasterKey *masterKey, MPAlgorithmVersion *masterKey
|
||||
mpw_free( masterKey, MPMasterKeySize );
|
||||
*masterKeyAlgorithm = targetKeyAlgorithm;
|
||||
*masterKey = mpw_master_key( fullName, masterPassword, *masterKeyAlgorithm );
|
||||
if (!*masterKey) {
|
||||
err( "Couldn't derive master key for user %s, algorithm %d.", fullName, *masterKeyAlgorithm );
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return masterKey && *masterKey != NULL;
|
||||
}
|
||||
|
||||
#if MPW_JSON
|
||||
|
Loading…
Reference in New Issue
Block a user