SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:293

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:293

islam-4
Hi Guys

i have some problems using openssl to implement a pop3s (over tls). The
code is here :

http://stackoverflow.com/questions/6520676/pop3s-implementation-using-openssl-library

pls this is very urgent.



______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:293

Michael S. Zick-4
On Fri July 1 2011, islam wrote:
> Hi Guys
>
> i have some problems using openssl to implement a pop3s (over tls). The
> code is here :
>
> http://stackoverflow.com/questions/6520676/pop3s-implementation-using-openssl-library
>
> pls this is very urgent.
>

Then send money.  
Open Source software developers respond very well to cash.

Mike
>
>
> ______________________________________________________________________
> OpenSSL Project                                 http://www.openssl.org
> User Support Mailing List                    [hidden email]
> Automated List Manager                           [hidden email]
>
>


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

RE: SSL routines:SSL3_GET_RECORD:wrong version number:s3_pkt.c:293

Steffen DETTMER
In reply to this post by islam-4
> http://stackoverflow.com/questions/6520676/pop3s-implementatio
> n-using-openssl-library

      char bf[16] = "STLS\r\n";
      if (send(c->socket, bf, sizeof(bf), 0) < 1) {
          fprintf(stderr, "[%d] failed writing to auth server
socket(ssl_coneect)", getpid());
      }

I don't think that you intentionally write 16 bytes?

oki,

Steffen

 
About Ingenico: Ingenico is a leading provider of payment, transaction and business solutions, with over 15 million terminals deployed in more than 125 countries. Over 3,000 employees worldwide support merchants, banks and service providers to optimize and secure their electronic payments solutions, develop their offer of services and increase their point of sales revenue.
http://www.ingenico.com/.
 This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.
 P Please consider the environment before printing this e-mail
 
 
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]