Regression since 7.69.0 and 68fb25f.
The code wrongly assigned 'from' instead of 'auth' which probably was a
copy and paste mistake from other code, leading to that auth could
remain NULL and later cause an error to be returned.
Assisted-by: Eric Sauvageau
I did this
I expected the following
After the early authentication bits, this is a successful session under 7.68.0:
However with 7.69.1, it returns this:
mail.txt contains a very short test file with a From, To,Date, and two lines of content.
This might be server-specific, as my own ISP's server seems to work fine with a similar request.
curl 7.69.1 (arm-unknown-linux-gnu) libcurl/7.69.1 OpenSSL/1.0.2u
Protocols: file ftp ftps http https imap imaps pop3 pop3s smb smbs smtp smtps
Features: HTTPS-proxy IPv6 Largefile NTLM SSL TLS-SRP UnixSockets
Asuswrt-Merlin (Linux-based router firmware).
Tested both on an older uclibc+kernel 2.6.36 and on a glibc+kernel 4.1.51 kernel.
OpenSSL 1.0.2u is used for the SSL/TLS backend.
The text was updated successfully, but these errors were encountered: