From 17ffd30722aed4932e3774c84db4eb8f5fc7dfec Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Sat, 7 Apr 2018 12:49:45 +0300 Subject: [PATCH] SecureValue: bugfix GitOrigin-RevId: aabf0869bd20e80fbab15ba7849bce38a6442f03 --- td/telegram/SecureManager.cpp | 2 ++ td/telegram/SecureValue.h | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/td/telegram/SecureManager.cpp b/td/telegram/SecureManager.cpp index 4a052c4c..87c4ea98 100644 --- a/td/telegram/SecureManager.cpp +++ b/td/telegram/SecureManager.cpp @@ -19,6 +19,8 @@ #include +#include "td/utils/base64.h" + namespace td { GetSecureValue::GetSecureValue(ActorShared<> parent, std::string password, SecureValueType type, diff --git a/td/telegram/SecureValue.h b/td/telegram/SecureValue.h index 9ebbac11..cbebd346 100644 --- a/td/telegram/SecureValue.h +++ b/td/telegram/SecureValue.h @@ -139,12 +139,12 @@ td_api::object_ptr get_encrypted_credentials_objec const EncryptedSecureCredentials &credentials); struct SecureDataCredentials { - string hash; string secret; + string hash; }; struct SecureFileCredentials { - string hash; string secret; + string hash; }; struct SecureValueCredentials {