From 1d03938f950568dd1082abfd55f664ede6023995 Mon Sep 17 00:00:00 2001 From: Brett Laptop Date: Fri, 18 Aug 2023 02:21:22 -0400 Subject: [PATCH] SQLite --- include/blt/std/uuid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/blt/std/uuid.h b/include/blt/std/uuid.h index 6435ce2..3486f0c 100755 --- a/include/blt/std/uuid.h +++ b/include/blt/std/uuid.h @@ -103,7 +103,7 @@ namespace blt::uuid unsigned char hash[SHA_DIGEST_LENGTH]; uuid_t result{}; - SHA1(c_str, sizeof(c_str) - 1, hash); + SHA1(c_str, strlen(new_str.c_str()), hash); memcpy(result.str, hash, 16);