|
|
@ -108,7 +108,7 @@ namespace client |
|
|
|
if (authType >= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_NONE && authType <= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK) |
|
|
|
if (authType >= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_NONE && authType <= i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK) |
|
|
|
m_AuthType = authType; |
|
|
|
m_AuthType = authType; |
|
|
|
else |
|
|
|
else |
|
|
|
LogPrint (eLogCritical, "Destination: Unknown auth type: ", authType); |
|
|
|
LogPrint (eLogError, "Destination: Unknown auth type: ", authType); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
it = params->find (I2CP_PARAM_LEASESET_PRIV_KEY); |
|
|
|
it = params->find (I2CP_PARAM_LEASESET_PRIV_KEY); |
|
|
@ -1014,7 +1014,7 @@ namespace client |
|
|
|
else if (authType == i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK) |
|
|
|
else if (authType == i2p::data::ENCRYPTED_LEASESET_AUTH_TYPE_PSK) |
|
|
|
ReadAuthKey (I2CP_PARAM_LEASESET_CLIENT_PSK, params); |
|
|
|
ReadAuthKey (I2CP_PARAM_LEASESET_CLIENT_PSK, params); |
|
|
|
else |
|
|
|
else |
|
|
|
LogPrint (eLogCritical, "Destination: Unexpected auth type: ", authType); |
|
|
|
LogPrint (eLogError, "Destination: Unexpected auth type: ", authType); |
|
|
|
if (m_AuthKeys->size ()) |
|
|
|
if (m_AuthKeys->size ()) |
|
|
|
LogPrint (eLogInfo, "Destination: ", m_AuthKeys->size (), " auth keys read"); |
|
|
|
LogPrint (eLogInfo, "Destination: ", m_AuthKeys->size (), " auth keys read"); |
|
|
|
else |
|
|
|
else |
|
|
|