Really fix incorrect comment in gnutls-hmac.patch

This commit is contained in:
Michael Catanzaro 2021-06-23 08:55:05 -05:00
parent c2b4525c73
commit 7a7a3ffec6

View File

@ -437,7 +437,7 @@ new file mode 100644
index 000000000..a55375060
--- /dev/null
+++ b/glib/ghmac-gnutls.c
@@ -0,0 +1,187 @@
@@ -0,0 +1,186 @@
+/* ghmac.h - data hashing functions
+ *
+ * Copyright (C) 2011 Collabora Ltd.
@ -523,8 +523,7 @@ index 000000000..a55375060
+ if (ret != 0)
+ {
+ /* There is no way to report an error here, but one possible cause of
+ * failure is that the requested digest may be disabled by Fedora or RHEL
+ * system crypto policy. As of 2021, MD5 is likely disabled.
+ * failure is that the requested digest may be disabled by FIPS mode.
+ */
+ g_free (hmac->hmac);
+ return NULL;