| skipped 63 lines |
64 | 64 | | #ifdef USE_HCACHE |
65 | 65 | | #include "protos.h" |
66 | 66 | | #endif |
67 | | - | #ifdef USE_SASL |
| 67 | + | #ifdef USE_SASL_CYRUS |
68 | 68 | | #include <sasl/sasl.h> |
69 | 69 | | #include <sasl/saslutil.h> |
70 | 70 | | #endif |
| skipped 114 lines |
185 | 185 | | mutt_str_cat(buf, sizeof(buf), " "); |
186 | 186 | | mutt_str_copy(authinfo, buf + plen - 1, sizeof(authinfo)); |
187 | 187 | | } |
188 | | - | #ifdef USE_SASL |
| 188 | + | #ifdef USE_SASL_CYRUS |
189 | 189 | | else if ((plen = mutt_str_startswith(buf, "SASL "))) |
190 | 190 | | { |
191 | 191 | | char *p = buf + plen; |
| skipped 16 lines |
208 | 208 | | } |
209 | 209 | | } while (!mutt_str_equal(".", buf)); |
210 | 210 | | *buf = '\0'; |
211 | | - | #ifdef USE_SASL |
| 211 | + | #ifdef USE_SASL_CYRUS |
212 | 212 | | if (adata->authenticators && mutt_istr_find(authinfo, " SASL ")) |
213 | 213 | | mutt_str_copy(buf, adata->authenticators, sizeof(buf)); |
214 | 214 | | #endif |
| skipped 158 lines |
373 | 373 | | return 0; |
374 | 374 | | } |
375 | 375 | | |
376 | | - | #ifdef USE_SASL |
| 376 | + | #ifdef USE_SASL_CYRUS |
377 | 377 | | /** |
378 | 378 | | * nntp_memchr - Look for a char in a binary buf, conveniently |
379 | 379 | | * @param haystack [in/out] input: start here, output: store address of hit |
| skipped 151 lines |
531 | 531 | | } |
532 | 532 | | else |
533 | 533 | | { |
534 | | - | #ifdef USE_SASL |
| 534 | + | #ifdef USE_SASL_CYRUS |
535 | 535 | | sasl_conn_t *saslconn = NULL; |
536 | 536 | | sasl_interact_t *interaction = NULL; |
537 | 537 | | int rc; |
| skipped 115 lines |
653 | 653 | | continue; |
654 | 654 | | #else |
655 | 655 | | continue; |
656 | | - | #endif /* USE_SASL */ |
| 656 | + | #endif /* USE_SASL_CYRUS */ |
657 | 657 | | } |
658 | 658 | | |
659 | 659 | | // L10N: %s is the method name, e.g. Anonymous, CRAM-MD5, GSSAPI, SASL |
| skipped 2109 lines |