1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 08:35:05 -05:00

sasl: only enable if there's a protocol enabled using it

This commit is contained in:
Daniel Stenberg 2019-05-05 17:08:21 +02:00
parent b95456f4e2
commit e5b546b339
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -31,6 +31,9 @@
#include "curl_setup.h" #include "curl_setup.h"
#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \
!defined(CURL_DISABLE_POP3)
#include <curl/curl.h> #include <curl/curl.h>
#include "urldata.h" #include "urldata.h"
@ -623,3 +626,4 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,
return result; return result;
} }
#endif /* protocols are enabled that use SASL */