mirror of
https://github.com/samba-team/samba.git
synced 2025-03-22 02:50:28 +03:00
torture/attr: use security_ace_equal instead of sec_ace_equal
Both offer the same functionality, sec_ace_equal() will be removed. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
bc70d58cbc
commit
d9776c65e3
@ -23,7 +23,7 @@
|
||||
#include "libcli/libcli.h"
|
||||
#include "torture/util.h"
|
||||
#include "system/filesys.h"
|
||||
#include "libcli/security/secace.h"
|
||||
#include "libcli/security/security_descriptor.h"
|
||||
#include "torture/basic/proto.h"
|
||||
|
||||
extern int torture_failures;
|
||||
@ -295,7 +295,7 @@ bool torture_winattrtest(struct torture_context *tctx,
|
||||
struct security_ace *ace1 = &sd1->dacl->aces[aceno];
|
||||
struct security_ace *ace2 = &sd2->dacl->aces[aceno];
|
||||
|
||||
if(!sec_ace_equal(ace1,ace2)){
|
||||
if (!security_ace_equal(ace1, ace2)) {
|
||||
torture_comment(tctx,
|
||||
"ACLs changed! Not expected!\n");
|
||||
CHECK_MAX_FAILURES(error_exit_file);
|
||||
@ -414,7 +414,7 @@ error_exit_file:
|
||||
struct security_ace *ace1 = &sd1->dacl->aces[aceno];
|
||||
struct security_ace *ace2 = &sd2->dacl->aces[aceno];
|
||||
|
||||
if(!sec_ace_equal(ace1,ace2)){
|
||||
if (!security_ace_equal(ace1, ace2)) {
|
||||
torture_comment(tctx,
|
||||
"ACLs changed! Not expected!\n");
|
||||
CHECK_MAX_FAILURES(error_exit_dir);
|
||||
|
Loading…
x
Reference in New Issue
Block a user