Skip to content
Permalink
Browse files

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

  • Loading branch information...
bagder committed May 5, 2019
1 parent b95456f commit e5b546b3397aa4fcd4ae5af71360f98f1b4768b6
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/curl_sasl.c
@@ -31,6 +31,9 @@

#include "curl_setup.h"

#if !defined(CURL_DISABLE_IMAP) || !defined(CURL_DISABLE_SMTP) || \
!defined(CURL_DISABLE_POP3)

#include <curl/curl.h>
#include "urldata.h"

@@ -623,3 +626,4 @@ CURLcode Curl_sasl_continue(struct SASL *sasl, struct connectdata *conn,

return result;
}
#endif /* protocols are enabled that use SASL */

0 comments on commit e5b546b

Please sign in to comment.
You can’t perform that action at this time.