From 49ab2df28a9399fef8d37677404304ac88115b45 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 6 Apr 2011 14:36:21 +1000 Subject: lib/crypto: rename the SHA256_ functions to samba_SHA256_ this prevents a symbol duplication with the openssl library, which may be linked in via a secondary library dependency Pair-Programmed-With: Andrew Bartlett --- source3/modules/vfs_acl_common.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/modules/vfs_acl_common.c b/source3/modules/vfs_acl_common.c index 827c954b1d..6e11ffc275 100644 --- a/source3/modules/vfs_acl_common.c +++ b/source3/modules/vfs_acl_common.c @@ -61,9 +61,9 @@ static NTSTATUS hash_sd_sha256(struct security_descriptor *psd, return status; } - SHA256_Init(&tctx); - SHA256_Update(&tctx, blob.data, blob.length); - SHA256_Final(hash, &tctx); + samba_SHA256_Init(&tctx); + samba_SHA256_Update(&tctx, blob.data, blob.length); + samba_SHA256_Final(hash, &tctx); return NT_STATUS_OK; } -- cgit