cURL / Mailing Lists / curl-library / Single Mail

curl-library

SMTP application hangs if CABundleFile points to non-existent path

From: Alona Rossen <arossen_at_opentext.com>
Date: Tue, 15 Feb 2011 10:22:45 -0500

Libcurl-7.21.3

$ ./configure CC=cc LDFLAGS=-ldl
--with-ssl=/export/home/users/sambuild/ssl --

with-libssh2=/export/home/users/sambuild/CURL_SSH2/ssh2
--prefix=/export/home/us

ers/sambuild/curl723 --enable-static=no

 

 

 

Application shows "QUIT" and hangs in case a fully qualified name of the
certificate file is incorrect:

 

/export/home/sambuild/TESTS/MAIL/SMTPS> ./curlSMTP

* About to connect() to smtp.gmail.com port 587 (#0)

* Trying 209.85.225.109... * connected

* Connected to smtp.gmail.com (209.85.225.109) port 587 (#0)

< 220 mx.google.com ESMTP 8sm2992589iba.10

> EHLO geniosol9

< 250-mx.google.com at your service, [199.85.101.2]

< 250-SIZE 35651584

< 250-8BITMIME

< 250-STARTTLS

< 250-ENHANCEDSTATUSCODES

< 250 PIPELINING

> STARTTLS

< 220 2.0.0 Ready to start TLS

* error setting certificate verify locations:

  CAfile: /____export/home/sambuild/certs/cacert.pem

  CApath: none

 

> QUIT

 

 

The application can be terminated by Ctrl-C.

 

 

Regards,

Alona Rossen

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2011-02-15