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

Gives ANSI path to curl CURLOPT_CAINFO #7870

Merged
merged 1 commit into from Mar 27, 2020
Merged

Conversation

RipleyTom
Copy link
Contributor

Roundabout way of getting ansi path out of utf-8 path but tested and it works.
This should fixes issues where Problem with the SSL CA cert (path? access rights?) error was reported.

@Nekotekina
Copy link
Member

There is another problem, GetEmuDir returns some variable configured by the user. I recommend using GetModuleFileNameW(nullptr...) to get actual rpcs3.exe path and cut it.

@Megamouse
Copy link
Contributor

And also put that ansi conversion into some util function

@RipleyTom
Copy link
Contributor Author

Isn't using GetEmuDir() fine? I thought that variable was there specifically if you want to use another directory than the one where the .exe is as a "home" directory.

@Nekotekina
Copy link
Member

It's legacy variable for VFS paths prefixes. You can change it, but certificates won't be there.

@RipleyTom RipleyTom force-pushed the non_ansi branch 5 times, most recently from c962b01 to 39cb4f8 Compare March 27, 2020 11:05
@Nekotekina Nekotekina merged commit cd4eed0 into RPCS3:master Mar 27, 2020
@RipleyTom RipleyTom deleted the non_ansi branch March 31, 2020 04:55
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.

None yet

3 participants