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 --- source4/utils/oLschema2ldif.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source4/utils') diff --git a/source4/utils/oLschema2ldif.c b/source4/utils/oLschema2ldif.c index 29ed3bd38e..ae69db19bc 100644 --- a/source4/utils/oLschema2ldif.c +++ b/source4/utils/oLschema2ldif.c @@ -392,9 +392,9 @@ static struct ldb_message *process_entry(TALLOC_CTX *mem_ctx, const char *entry) MSG_ADD_STRING("governsID", s); } - SHA256_Init(&sha256_context); - SHA256_Update(&sha256_context, (uint8_t*)s, strlen(s)); - SHA256_Final(digest, &sha256_context); + samba_SHA256_Init(&sha256_context); + samba_SHA256_Update(&sha256_context, (uint8_t*)s, strlen(s)); + samba_SHA256_Final(digest, &sha256_context); memcpy(&guid, digest, sizeof(struct GUID)); -- cgit