]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:utils: Use correct enumeration constant
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Thu, 23 Nov 2023 06:28:16 +0000 (19:28 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 30 Nov 2023 00:02:33 +0000 (00:02 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/utils/oLschema2ldif/lib.c

index 2a9b32ceef064758110ceee3b3da57781a05e4cb..aefe8f96c71ebbf52369f631e591b6fe46605de2 100644 (file)
@@ -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;