Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rustls_client_config_builder_new: use the default set if cipher_suites is NULL #163

Open
kevinburke opened this issue Oct 29, 2021 · 0 comments

Comments

@kevinburke
Copy link
Contributor

I'm having trouble building an array of ciphersuites in C because I don't know C very well and keep being told I'm either discarding the 'const' qualifier from the pointer target type or trying to assign to a constant pointer, and so I keep getting in trouble.

Anyway all I am trying to do is use the default set of cipher suites. It would be nice if rustls_client_config_builder_new could check for null in the cipher_suites argument, and then just use the default set of ciphersuites.

kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Oct 29, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Oct 30, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Oct 30, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Oct 30, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 3, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 10, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 10, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 11, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 15, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 15, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
kevinburke added a commit to kevinburke/rustls-ffi that referenced this issue Nov 18, 2021
I'm having trouble figuring out how to pass in a set of cipher suites
using C, and since all I want is the default set, just make it easier
by providing a reasonable default for the NULL case.

Fixes rustls#163.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant