Hi,
I'm trying to connect to www.google.com on 443 port with SSL but my code
shows an error at ssl_write.
This code is written in C++ Builder on Windows.
Everything is good before this point
err = SSL_write(ssl, buf, strlen(buf));
But after that err=-1 and code=1 (means SSL_ERROR_SSL )
What may
On Thu, Jun 18, 2020 at 12:00:33PM +0200, Attila Csosz wrote:
> err = connect(sd, (struct sockaddr*) &sa, sizeof(sa));
>
> // Create SSL context
> meth = SSLv23_server_method();
Have you tried SSLv23_client_method()? Your application is a TLS
client, not a TLS server...
> if (!meth) throw