mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Forgot to add a slash in one bit of code I switched from D_WIIUSER_IDX to D_SESSION_WIIROOT_IDX.
Fix that.
This commit is contained in:
parent
a488ab7a70
commit
e20db1b2e3
1 changed files with 2 additions and 2 deletions
|
@ -288,8 +288,8 @@ _SSL_NEW_ERROR:
|
||||||
{
|
{
|
||||||
WII_SSL* ssl = &_SSL[sslID];
|
WII_SSL* ssl = &_SSL[sslID];
|
||||||
std::string cert_base_path = File::GetUserPath(D_SESSION_WIIROOT_IDX);
|
std::string cert_base_path = File::GetUserPath(D_SESSION_WIIROOT_IDX);
|
||||||
int ret = x509_crt_parse_file(&ssl->clicert, (cert_base_path + "clientca.pem").c_str());
|
int ret = x509_crt_parse_file(&ssl->clicert, (cert_base_path + "/clientca.pem").c_str());
|
||||||
int pk_ret = pk_parse_keyfile(&ssl->pk, (cert_base_path + "clientcakey.pem").c_str(), nullptr);
|
int pk_ret = pk_parse_keyfile(&ssl->pk, (cert_base_path + "/clientcakey.pem").c_str(), nullptr);
|
||||||
if (ret || pk_ret)
|
if (ret || pk_ret)
|
||||||
{
|
{
|
||||||
x509_crt_free(&ssl->clicert);
|
x509_crt_free(&ssl->clicert);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue