Re: [openssl-users] SSL_shutdown:shutdown while in init

2017-10-19 Thread Jakob Bohm
On 18/10/2017 11:14, Matt Caswell wrote: On 17/10/17 21:27, Chris Bare wrote: I have the following code: setup_ssl (char *server_name, char *port, SSL_CTX *ctx) {     BIO *output = BIO_new_ssl_connect (ctx);     if (!output)     {         return (NULL);     }     BIO_get_ssl (output, );

Re: [openssl-users] SSL_shutdown:shutdown while in init

2017-10-18 Thread Matt Caswell
On 17/10/17 21:27, Chris Bare wrote: > I have the following code: > > setup_ssl (char *server_name, char *port, SSL_CTX *ctx) > { >     BIO *output = BIO_new_ssl_connect (ctx); >     if (!output) >     { >         return (NULL); >     } >     BIO_get_ssl (output, ); >     SSL_set_mode (ssl,

[openssl-users] SSL_shutdown:shutdown while in init

2017-10-17 Thread Chris Bare
I have the following code: setup_ssl (char *server_name, char *port, SSL_CTX *ctx) { BIO *output = BIO_new_ssl_connect (ctx); if (!output) { return (NULL); } BIO_get_ssl (output, ); SSL_set_mode (ssl, SSL_MODE_AUTO_RETRY); SSL_set_verify (ssl, true, NULL);