mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 22:43:03 +01:00
Fixed CORE-6038: Srp user manager sporadically creates users which can not attach
This commit is contained in:
parent
e9f7492d22
commit
b30b7e2358
@ -201,10 +201,10 @@ int SrpServer::authenticate(CheckStatusWrapper* status, IServerBlock* sb, IWrite
|
||||
check(status);
|
||||
HANDSHAKE_DEBUG(fprintf(stderr, "Srv: SRP1: Executed statement\n"));
|
||||
|
||||
verifier.assign(reinterpret_cast<const UCHAR*>((const char*) verify), RemotePassword::SRP_VERIFIER_SIZE);
|
||||
verifier.assign(reinterpret_cast<const UCHAR*>(verify->data), verify->len);
|
||||
dumpIt("Srv: verifier", verifier);
|
||||
UCharBuffer s;
|
||||
s.assign(reinterpret_cast<const UCHAR*>((const char*) slt), RemotePassword::SRP_SALT_SIZE);
|
||||
s.assign(reinterpret_cast<const UCHAR*>(slt->data), slt->len);
|
||||
BigInteger(s).getText(salt);
|
||||
dumpIt("Srv: salt", salt);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user