]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
Fix FTBFS in utils.c
authorMichael Marley <michael@michaelmarley.com>
Thu, 7 Apr 2022 01:47:49 +0000 (21:47 -0400)
committerFlole998 <Flole998@users.noreply.github.com>
Thu, 7 Apr 2022 01:52:38 +0000 (03:52 +0200)
U+0020 SPACE and U+00A0 NO-BREAK SPACE look the same, but they
aren't the same.

src/utils.c

index eecb10e11621671cf88475a4453a58312a65e858..bc6401d22f38c3198e10e4faa1881ba1f3286117 100644 (file)
@@ -616,7 +616,7 @@ sha256sum ( const char *str, int lowercase )
 char *
 sha512sum256 ( const char *str, int lowercase )
 {
-#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER >= 0x1010101fL && !defined(LIBRESSL_VERSION_NUMBER)
   return openssl_hash_hexstr(str, lowercase, EVP_sha512_256(), 32);
 #else
   return NULL;