From 92465ba8ac27b05081e3b01878b5e77ab17b1d27 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Wed, 7 Oct 2009 10:32:17 +0100 Subject: [PATCH] rtspconnection: we can use GLib 2.18 API unconditionally now --- gst-libs/gst/rtsp/gstrtspconnection.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/gst-libs/gst/rtsp/gstrtspconnection.c b/gst-libs/gst/rtsp/gstrtspconnection.c index 136d40a..088a67e 100644 --- a/gst-libs/gst/rtsp/gstrtspconnection.c +++ b/gst-libs/gst/rtsp/gstrtspconnection.c @@ -917,12 +917,7 @@ auth_digest_compute_response (const gchar * method, memcpy (hex_a2, digest_string, strlen (digest_string)); /* compute KD */ -#if GLIB_CHECK_VERSION (2, 18, 0) g_checksum_reset (md5_context); -#else - g_checksum_free (md5_context); - md5_context = g_checksum_new (G_CHECKSUM_MD5); -#endif g_checksum_update (md5_context, (const guchar *) hex_a1, strlen (hex_a1)); g_checksum_update (md5_context, (const guchar *) ":", 1); g_checksum_update (md5_context, (const guchar *) nonce, strlen (nonce)); -- 2.7.4