public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/glib2] cve-2026-58016-f44: Fix gnutls-hmac.patch
@ 2026-08-11 10:37 Michael Catanzaro
0 siblings, 0 replies; only message in thread
From: Michael Catanzaro @ 2026-08-11 10:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/glib2
Branch : cve-2026-58016-f44
Commit : 75642e63a78d501ce03f09db182aa50acd4f78cc
Author : Michael Catanzaro <mcatanzaro@redhat.com>
Date : 2022-07-14T18:03:02-05:00
Stats : +3/-3 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/glib2/c/75642e63a78d501ce03f09db182aa50acd4f78cc?branch=cve-2026-58016-f44
Log:
Fix gnutls-hmac.patch
---
diff --git a/gnutls-hmac.patch b/gnutls-hmac.patch
index 8274810..16b02b7 100644
--- a/gnutls-hmac.patch
+++ b/gnutls-hmac.patch
@@ -1025,15 +1025,15 @@ index 3ac3206df..2fa447984 100644
+ GHmac *copy;
+
+ /* No MD5 in FIPS mode. */
-+ hmac = g_hmac_new (G_CHECKSUM_MD5, "abc123", sizeof ("abc123"));
++ hmac = g_hmac_new (G_CHECKSUM_MD5, (guchar *)"abc123", sizeof ("abc123"));
+ g_assert_null (hmac);
+
+ /* SHA-256 should be good. */
-+ hmac = g_hmac_new (G_CHECKSUM_SHA256, "abc123", sizeof ("abc123"));
++ hmac = g_hmac_new (G_CHECKSUM_SHA256, (guchar *)"abc123", sizeof ("abc123"));
+ g_assert_nonnull (hmac);
+
+ /* Ensure g_hmac_update() does not crash when called with -1. */
-+ g_hmac_update (hmac, "You win again, gravity!", -1);
++ g_hmac_update (hmac, (guchar *)"You win again, gravity!", -1);
+
+ /* Ensure g_hmac_copy() does not crash. */
+ copy = g_hmac_copy (hmac);
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-11 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-11 10:37 [rpms/glib2] cve-2026-58016-f44: Fix gnutls-hmac.patch Michael Catanzaro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox