summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-09-08 09:23:09 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-09-08 09:23:09 +0200
commite4cde84ccf2abd1b8ec617541f2984ea30c6b4b5 (patch)
tree1c4f23279c7627ee22b97f9d21641de742850d1c
parentad425d3e3e2e9b5325332f4b883cdcb23e3f071e (diff)
downloadcurl-e4cde84ccf2abd1b8ec617541f2984ea30c6b4b5.tar.gz
base64: enable in build with SMTPbagder/smtp-base64
The oauth2 support is used with SMTP and it uses base64 functions. Reported-by: Michael Olbrich Fixes #5937
-rw-r--r--lib/base64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/base64.c b/lib/base64.c
index 643cef625..433afcb70 100644
--- a/lib/base64.c
+++ b/lib/base64.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2020, Daniel Stenberg, <daniel@haxx.se>, et al.
*
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
@@ -26,6 +26,7 @@
#if !defined(CURL_DISABLE_HTTP_AUTH) || defined(USE_SSH) || \
!defined(CURL_DISABLE_LDAP) || \
+ !defined(CURL_DISABLE_SMTP) || \
!defined(CURL_DISABLE_DOH) || defined(USE_SSL)
#include "urldata.h" /* for the Curl_easy definition */