diff options
author | Shauren <shauren.trinity@gmail.com> | 2023-12-17 23:21:10 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2023-12-17 23:21:10 +0100 |
commit | acb5fbd48b5bd911dd0da6016a3d86d4c64724b6 (patch) | |
tree | 0840b5d5a8157407373891a36743b755dafc5687 /src/common/Cryptography/Authentication/SRP6.cpp | |
parent | 5f00ac4b2bf2d47ea24a93c362737fe904456d2e (diff) |
Core/Bnet: Rewrite LoginRESTService using boost::beast instead of gsoap as http backend and extract generic http code to be reusable elsewhere
Diffstat (limited to 'src/common/Cryptography/Authentication/SRP6.cpp')
-rw-r--r-- | src/common/Cryptography/Authentication/SRP6.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/common/Cryptography/Authentication/SRP6.cpp b/src/common/Cryptography/Authentication/SRP6.cpp index a2266f35f71..c172bbc1d3d 100644 --- a/src/common/Cryptography/Authentication/SRP6.cpp +++ b/src/common/Cryptography/Authentication/SRP6.cpp @@ -24,12 +24,7 @@ using SHA1 = Trinity::Crypto::SHA1; using SRP6 = Trinity::Crypto::SRP6; -/*static*/ std::array<uint8, 1> const SRP6::g = []() -{ - std::array<uint8, 1> g_temp; - g_temp[0] = 7; - return g_temp; -}(); +/*static*/ std::array<uint8, 1> const SRP6::g = { 7 }; /*static*/ std::array<uint8, 32> const SRP6::N = HexStrToByteArray<32>("894B645E89E1535BBDAD5B8B290650530801B18EBFBF5E8FAB3C82872A3E9BB7", true); /*static*/ BigNumber const SRP6::_g(SRP6::g); /*static*/ BigNumber const SRP6::_N(N); |