]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
base64: enable in build with SMTP
authorDaniel Stenberg <daniel@haxx.se>
Tue, 8 Sep 2020 07:23:09 +0000 (09:23 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 9 Sep 2020 07:23:06 +0000 (09:23 +0200)
The oauth2 support is used with SMTP and it uses base64 functions.

Reported-by: Michael Olbrich
Fixes #5937
Closes #5938

lib/base64.c

index 643cef6251be007ad0861ce7de8d3fc835a2b956..433afcb702cf88a150764ba6f7c61a70474a0316 100644 (file)
@@ -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 */