aboutsummaryrefslogtreecommitdiff
path: root/src/util/srp.cpp
AgeCommit message (Collapse)Author
2022-04-08Fix compiler warningsShadowNinja
2020-12-24Fix some minor code issues all over the placesfan5
2019-01-04Drop libgmp on Android and use mini-gmp (#8047)Loïc Blot
2018-07-26Fix build on gcc 5.0 (#7586)zeuner
2018-06-26Fix buffer overrun in SRP (#7484)red-001
The old code got a pointer to the array instead of the first element, this resulted in a buffer overflow when the function was used more than once.
2018-01-04Fix Wstringop-overflow warning from util/srp.cpp (#6855)you
* Fix Wstringop-overflow warning from util/srp.cpp
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-08-19Code modernization: subfolders (#6283)Loïc Blot
* Code modernization: subfolders Modernize various code on subfolders client, network, script, threading, unittests, util * empty function * default constructor/destructor * for range-based loops * use emplace_back instead of push_back * C++ STL header style * Make connection.cpp readable in a pointed place + typo
2017-06-10Remove superfluous pointer null checksQrchackOfficial
2017-04-02Update embedded jsoncpp from unk version to 0.10.6 + move libs to lib/ ↵Loïc Blot
instead of src/ (#5473) * Update embedded jsoncpp from unk version to 0.10.6 0.10.6 is last release without c++11 * Make jsoncpp more compliant with its amalgamate Jsoncpp cpp file should be upper, make the library like it does in amalgamate * Reorganization: move minetest embedded libs outside of source tree to /lib * Fix a dead grep in LINT
2016-08-10couple of memory leaks fixes.David Carlier
2016-04-10Update CSRP-GMP to commit deaa11a7c29a73008est31
Backports 10 commits, with 8 commits actually affecting source code: https://github.com/est31/csrp-gmp/compare/695822e45d9ca48b75b4ec1af1b4eea19139f8b1...deaa11a7c29a730087380da231e785909ad21630
2015-11-08Don't compile pcgrandom on Windowsest31
There it isn't needed.
2015-09-30Fix some SRP issuesest31
-> Remove memory allocation bugs -> Merge changes from upstream, enabling customizeable memory allocation
2015-08-06Initialize random for verification key generation tooest31
2015-07-24Check output of mpz_set_str and fix leak on error conditionest31
Also add static identifier as upstream did
2015-07-24Remove some old dead code. Fix some Clang warnings in SRP (ng->N... willLoic Blot
always evaluate to true.
2015-05-11Make early protocol auth mechanism generic, and add SRPest31
Adds everything needed for SRP (and everything works too), but still deactivated, as protocol v25 init packets aren't final yet. Can be activated by changing the LATEST_PROTOCOL_VERSION header to 25 inside networkprotocol.h.