1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-02-07 07:44:13 +00:00

fixed typo

This commit is contained in:
orignal 2019-08-21 20:26:19 -04:00
parent 099adab9ed
commit 9bbce5dba6

View File

@ -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
@ -629,8 +629,8 @@ namespace client
// I2CP // I2CP
std::map<std::string, std::string> options; std::map<std::string, std::string> options;
ReadI2CPOptions (section, options); ReadI2CPOptions (section, options);
std::shared_ptr<ClientDestination> localDestination = nullptr; std::shared_ptr<ClientDestination> localDestination = nullptr;
i2p::data::PrivateKeys k; i2p::data::PrivateKeys k;
if(!LoadPrivateKeys (k, keys, sigType, cryptoType)) if(!LoadPrivateKeys (k, keys, sigType, cryptoType))