Skip to content

Properly initialize new ca_info option#148

Closed
tofurky wants to merge 1 commit intoaarond10:masterfrom
tofurky:initialize_ca_info
Closed

Properly initialize new ca_info option#148
tofurky wants to merge 1 commit intoaarond10:masterfrom
tofurky:initialize_ca_info

Conversation

@tofurky
Copy link
Copy Markdown
Contributor

@tofurky tofurky commented Oct 9, 2022

Otherwise, this can wind up being a garbage non-NULL value that breaks cURL's ability to perform certificate verification:

curl error message: error setting certificate verify locations: CAfile: �� CApath: none

Fixes #144.

Signed-off-by: Matt Merhar mattmerhar@protonmail.com

Otherwise, this can wind up being a garbage non-NULL value that breaks
cURL's ability to perform certificate verification:

curl error message: error setting certificate verify locations:  CAfile: �� CApath: none

Fixes aarond10#144.

Signed-off-by: Matt Merhar <mattmerhar@protonmail.com>
@baranyaib90
Copy link
Copy Markdown
Contributor

Whoopsie, this slipped through the first review :(

@baranyaib90
Copy link
Copy Markdown
Contributor

@aarond10 please approve this if you have the time

@baranyaib90
Copy link
Copy Markdown
Contributor

Meh, I just found out the race condition in #136 ...

@aarond10
Copy link
Copy Markdown
Owner

Ah, thanks for this. I made the same change yesterday without noticing your pull request. Sorry!

I've been away on holidays for the past month. Should have started reading my email from oldest first instead of newest!

@aarond10 aarond10 closed this Oct 15, 2022
@baranyaib90 baranyaib90 mentioned this pull request Dec 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants