File cyrus-sasl-no-des.patch of Package libsasl2-2.3289
Index: cyrus-sasl-2.1.22/plugins/digestmd5.c
===================================================================
--- cyrus-sasl-2.1.22.orig/plugins/digestmd5.c
+++ cyrus-sasl-2.1.22/plugins/digestmd5.c
@@ -2713,9 +2713,9 @@ static sasl_server_plug_t digestmd5_serv
{
{
"DIGEST-MD5", /* mech_name */
-#ifdef WITH_RC4
+#if defined(WITH_RC4)
128, /* max_ssf */
-#elif WITH_DES
+#elif defined(WITH_DES)
112,
#else
1,
@@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie
"DIGEST-MD5",
#ifdef WITH_RC4 /* mech_name */
128, /* max ssf */
-#elif WITH_DES
+#elif defined(WITH_DES)
112,
#else
1,