aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/srp6/srp6_files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/misc/srp6/srp6_files.cpp')
-rw-r--r--src/lib/misc/srp6/srp6_files.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/misc/srp6/srp6_files.cpp b/src/lib/misc/srp6/srp6_files.cpp
index 606c12ad7..0e1569a1c 100644
--- a/src/lib/misc/srp6/srp6_files.cpp
+++ b/src/lib/misc/srp6/srp6_files.cpp
@@ -28,7 +28,7 @@ SRP6_Authenticator_File::SRP6_Authenticator_File(std::istream& in)
std::string username = parts[0];
BigInt v = BigInt::decode(base64_decode(parts[1]));
- std::vector<byte> salt = unlock(base64_decode(parts[2]));
+ std::vector<uint8_t> salt = unlock(base64_decode(parts[2]));
BigInt group_id_idx = BigInt::decode(base64_decode(parts[3]));
std::string group_id;
@@ -48,7 +48,7 @@ SRP6_Authenticator_File::SRP6_Authenticator_File(std::istream& in)
bool SRP6_Authenticator_File::lookup_user(const std::string& username,
BigInt& v,
- std::vector<byte>& salt,
+ std::vector<uint8_t>& salt,
std::string& group_id) const
{
std::map<std::string, SRP6_Data>::const_iterator i = m_entries.find(username);