Annotation of /trunk/cyrus-sasl/patches/cyrus-sasl-2.1.23-gcc45.patch
Parent Directory | Revision Log
Revision 1149 -
(hide annotations)
(download)
Fri Sep 24 19:09:59 2010 UTC (14 years ago) by niro
File size: 540 byte(s)
Fri Sep 24 19:09:59 2010 UTC (14 years ago) by niro
File size: 540 byte(s)
-fix compilation with gcc-4.5
1 | niro | 1149 | fix warnings with gcc-4.4 |
2 | |||
3 | http://bugs.gentoo.org/248738 | ||
4 | |||
5 | --- cyrus-sasl-2.1.22/plugins/digestmd5.c | ||
6 | +++ cyrus-sasl-2.1.22/plugins/digestmd5.c | ||
7 | @@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv | ||
8 | "DIGEST-MD5", /* mech_name */ | ||
9 | #ifdef WITH_RC4 | ||
10 | 128, /* max_ssf */ | ||
11 | -#elif WITH_DES | ||
12 | +#elif defined(WITH_DES) | ||
13 | 112, | ||
14 | #else | ||
15 | 1, | ||
16 | @@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie | ||
17 | "DIGEST-MD5", | ||
18 | #ifdef WITH_RC4 /* mech_name */ | ||
19 | 128, /* max ssf */ | ||
20 | -#elif WITH_DES | ||
21 | +#elif defined(WITH_DES) | ||
22 | 112, | ||
23 | #else | ||
24 | 1, |