Fix compilation with gcc44.
It seems there is this fix in cyrus-sasl-2.1.24rc1. PR: 132573 Submitted by: Anonymous <swell.k__at__gmail.com> Reviewed by: OISHI Masakuni <yamasa__at__bsdhouse.org>
This commit is contained in:
parent
ff6075356a
commit
eeb148cea6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=250946
20
security/cyrus-sasl2/files/patch-plugins-digestmd5.c
Normal file
20
security/cyrus-sasl2/files/patch-plugins-digestmd5.c
Normal file
@ -0,0 +1,20 @@
|
||||
--- plugins/digestmd5.c.orig 2006-05-17 20:46:17.000000000 +0400
|
||||
+++ plugins/digestmd5.c
|
||||
@@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv
|
||||
"DIGEST-MD5", /* mech_name */
|
||||
#ifdef 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,
|
Loading…
Reference in New Issue
Block a user