|
|
@ -410,7 +410,7 @@ namespace client |
|
|
|
auto authType = GetI2CPOption(section, I2CP_PARAM_LEASESET_AUTH_TYPE, 0); |
|
|
|
auto authType = GetI2CPOption(section, I2CP_PARAM_LEASESET_AUTH_TYPE, 0); |
|
|
|
if (authType != "0") // auth is set
|
|
|
|
if (authType != "0") // auth is set
|
|
|
|
{ |
|
|
|
{ |
|
|
|
options[I2CP_PARAM_LEASESET_TYPE] = authType; |
|
|
|
options[I2CP_PARAM_LEASESET_AUTH_TYPE] = authType; |
|
|
|
if (authType == "1") // DH
|
|
|
|
if (authType == "1") // DH
|
|
|
|
ReadI2CPOptionsGroup (section, I2CP_PARAM_LEASESET_CLIENT_DH, options); |
|
|
|
ReadI2CPOptionsGroup (section, I2CP_PARAM_LEASESET_CLIENT_DH, options); |
|
|
|
else if (authType == "2") // PSK
|
|
|
|
else if (authType == "2") // PSK
|
|
|
|