mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix: change type [User] and comment pending [JsonGetLogin]
This commit is contained in:
parent
0c641068a4
commit
9d36f6eb3a
@ -64,7 +64,7 @@ Poco::JSON::Object* JsonGetLogin::handle(Poco::Dynamic::Var params)
|
||||
result->set("clientIP", session->getClientIp().toString());
|
||||
result->set("user", user->getJson());
|
||||
result->set("Transaction.pending", session->getProcessingTransactionCount());
|
||||
printf("pending: %d\n", session->getProcessingTransactionCount());
|
||||
//printf("pending: %d\n", session->getProcessingTransactionCount());
|
||||
return result;
|
||||
}
|
||||
else {
|
||||
|
||||
@ -794,7 +794,7 @@ MemoryBin* User::sign(const unsigned char* message, size_t messageSize)
|
||||
|
||||
auto signBinBuffer = mm->getFreeMemory(crypto_sign_BYTES);
|
||||
|
||||
size_t actualSignLength = 0;
|
||||
unsigned long long actualSignLength = 0;
|
||||
|
||||
if (crypto_sign_detached(*signBinBuffer, &actualSignLength, message, messageSize, *privKey)) {
|
||||
addError(new Error("User::sign", "sign failed"));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user