Re: SSL_set_client_CA_list(ssl, NULL) problem?

2020-01-08 Thread Claus Assmann
On Fri, Jan 03, 2020, Benjamin Kaduk via openssl-users wrote: > On Sun, Nov 24, 2019 at 12:05:34PM +0100, Claus Assmann wrote: > > Seems it is impossible to override the list with NULL for SSL, as > > the code will then use the list from CTX (if my limited understanding > > Is this intentional?

Re: SSL_set_client_CA_list(ssl, NULL) problem?

2020-01-03 Thread Benjamin Kaduk via openssl-users
Sorry for the very late response... On Sun, Nov 24, 2019 at 12:05:34PM +0100, Claus Assmann wrote: > Seems it is impossible to override the list with NULL for SSL, as > the code will then use the list from CTX (if my limited understanding > of the code is correct): > > STACK_OF(X509_NAME)

Re: SSL_set_client_CA_list(ssl, NULL) problem?

2019-11-24 Thread Claus Assmann
Seems it is impossible to override the list with NULL for SSL, as the code will then use the list from CTX (if my limited understanding of the code is correct): STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s) { ... if (s->client_CA != NULL) return (s->client_CA);

SSL_set_client_CA_list(ssl, NULL) problem?

2019-11-21 Thread Claus Assmann
I'm trying to find what's wrong when I use SSL_set_client_CA_list(ssl, NULL); in a server: openssl s_client still shows "Acceptable client CA names" (those which are previously set using SSL_CTX_load_verify_locations()) instead of the expected "No client certificate CA names sent" which happens