mirror of
https://github.com/GOSTSec/gostcoin
synced 2025-03-12 13:21:21 +00:00
EdDSA signature type
This commit is contained in:
parent
0dff612371
commit
95f0772450
@ -21,7 +21,7 @@
|
||||
#endif
|
||||
|
||||
#define SAM_BUFSIZE 65536
|
||||
#define I2P_DESTINATION_SIZE 516
|
||||
#define I2P_DESTINATION_SIZE 526 // TODO:
|
||||
|
||||
namespace SAM
|
||||
{
|
||||
@ -639,7 +639,7 @@ std::string Message::sessionCreate(SessionStyle style, const std::string& sessio
|
||||
case sssRaw: sessionStyle = "RAW"; break;
|
||||
}
|
||||
|
||||
static const char* sessionCreateFormat = "SESSION CREATE STYLE=%s ID=%s DESTINATION=%s inbound.nickname=%s %s\n"; // we add inbound.nickname option
|
||||
static const char* sessionCreateFormat = "SESSION CREATE STYLE=%s ID=%s DESTINATION=%s inbound.nickname=%s SIGNATURE_TYPE=7 %s\n"; // we add inbound.nickname option
|
||||
return createSAMRequest(sessionCreateFormat, sessionStyle.c_str(), sessionID.c_str(), destination.c_str(), nickname.c_str(), options.c_str());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user