On Wed, Jul 18, 2012 at 06:38:25AM -0700, usama yaseen wrote: > I am using libcurl for am-1808 running linux[i need to send emails with my > c-program], i have compiled the libcurl successfully for arm and the sample > application gets compiled successfully, but when i run this application on > arm-board, i got the following output. > > > * About to connect() to smtp.gmail.com port 587 (#0) > * Trying 74.125.127.108... * 0x12008 is at send pipe head! > * Connected to smtp.gmail.com (74.125.127.108) port 587 (#0) > < 220 mx.google.com ESMTP pf8sm6421301pbc.44 > > EHLO am180x-evm > < 250-mx.google.com at your service, [115.186.161.64] > < 250-SIZE 35882577 > < > 250-8BITMIME > < 250-STARTTLS > < 250 ENHANCEDSTATUSCODES > > STARTTLS > < 220 2.0.0 Ready to start TLS > > > > QUIT > > And then it remains stuck there, the output of the same program on my pc is,
What SSL library is this build using? What is the output of "curl --version"? Can you connect to an https site using that curl binary? > There is some issue with the certificates, i have tried setting > ca-bundle while configuring lib-curl, but it didn't helped. Here's my > command for configuring libcurl. > > ./configure --host=arm-none-linux-gnueabi --build=i686-linux CFLAGS='-Os' > --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt --enable-smtp There's no --with-ssl on this configure line. Do you even have SSL support in that binary? If so, curl shouldn't even try an SSL connection if that's the case, so maybe there's a libcurl bug there. >>> Dan ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html