diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-04-06 14:36:21 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-04-06 08:12:19 +0200 |
commit | 49ab2df28a9399fef8d37677404304ac88115b45 (patch) | |
tree | 29ba5f83e3088272f7c9a8be910adcbacb7246c7 /source3 | |
parent | 5adf85e6afa949f8e636327bb3446aa4f41948a7 (diff) | |
download | samba-49ab2df28a9399fef8d37677404304ac88115b45.tar.gz samba-49ab2df28a9399fef8d37677404304ac88115b45.tar.bz2 samba-49ab2df28a9399fef8d37677404304ac88115b45.zip |
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 <abartlet@samba.org>
Diffstat (limited to 'source3')
-rw-r--r-- | source3/modules/vfs_acl_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; } |