1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 19:29:09 +00:00

Store plClient password using platform-specific credential storage.

- Removes old drive-based "cryptography" for stored passwords,
  which often caused them to be invalidated when removable storage
  on the system is used.
- Uses pfPasswordStore to store passwords.
- Uses the Windows Registry to store account/password preferences.
This commit is contained in:
2014-10-11 11:49:59 -07:00
parent 8c03aaf353
commit bb2ea46c69
4 changed files with 65 additions and 120 deletions

View File

@ -362,7 +362,7 @@ bool plSHAChecksum::operator==(const plSHAChecksum& rhs) const
//============================================================================
plSHA1Checksum::plSHA1Checksum(size_t size, uint8_t* buffer)
plSHA1Checksum::plSHA1Checksum(size_t size, const uint8_t* buffer)
{
fValid = false;
Start();

View File

@ -153,7 +153,7 @@ class plSHA1Checksum
ShaDigest fChecksum;
public:
plSHA1Checksum(size_t size, uint8_t* buffer);
plSHA1Checksum(size_t size, const uint8_t* buffer);
plSHA1Checksum();
plSHA1Checksum(const plSHA1Checksum& rhs);
plSHA1Checksum(const plFileName& fileName);