diff --git a/source4/utils/oLschema2ldif/lib.c b/source4/utils/oLschema2ldif/lib.c index 2a9b32ceef0..aefe8f96c71 100644 --- a/source4/utils/oLschema2ldif/lib.c +++ b/source4/utils/oLschema2ldif/lib.c @@ -355,7 +355,7 @@ static struct ldb_message *process_entry(TALLOC_CTX *mem_ctx, struct conv_option char *c, *s; int n; - uint8_t digest[gnutls_hash_get_len(GNUTLS_MAC_SHA256)]; + uint8_t digest[gnutls_hash_get_len(GNUTLS_DIG_SHA256)]; int rc; struct GUID guid;