summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/utils/oLschema2ldif.c6
1 files changed, 3 insertions, 3 deletions
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));