mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 15:31:17 +01:00
Merge pull request #2817 from comex/clientca-typo
Forgot to add a slash in one bit of code I switched from D_WIIUSER_IDX to D_SESSION_WIIROOT_IDX.
This commit is contained in:
commit
68a54daec3
@ -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…
x
Reference in New Issue
Block a user