Minor fixes.

GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
This commit is contained in:
levlam 2020-10-02 02:17:58 +03:00
parent e1954304ea
commit 771ace5c8d
4 changed files with 3 additions and 3 deletions

View File

@ -6,6 +6,7 @@
// //
#include "td/utils/benchmark.h" #include "td/utils/benchmark.h"
#include "td/utils/common.h"
#include "td/utils/crypto.h" #include "td/utils/crypto.h"
#include "td/utils/logging.h" #include "td/utils/logging.h"
#include "td/utils/port/thread.h" #include "td/utils/port/thread.h"
@ -185,7 +186,7 @@ class AesCtrOpenSSLBench : public td::Benchmark {
void run(int n) override { void run(int n) override {
EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new(); EVP_CIPHER_CTX *ctx = EVP_CIPHER_CTX_new();
EVP_EncryptInit_ex(ctx, EVP_aes_256_ctr(), NULL, key.raw, iv.raw); EVP_EncryptInit_ex(ctx, EVP_aes_256_ctr(), nullptr, key.raw, iv.raw);
td::MutableSlice data_slice(data, DATA_SIZE); td::MutableSlice data_slice(data, DATA_SIZE);
td::AesCtrState state; td::AesCtrState state;

View File

@ -13,7 +13,6 @@
#include "td/utils/common.h" #include "td/utils/common.h"
#include "td/utils/StringBuilder.h" #include "td/utils/StringBuilder.h"
#include "td/utils/tl_helpers.h"
namespace td { namespace td {

View File

@ -6,6 +6,7 @@
// //
#include "td/telegram/UpdatesManager.h" #include "td/telegram/UpdatesManager.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.hpp" #include "td/telegram/telegram_api.hpp"
#include "td/telegram/AnimationsManager.h" #include "td/telegram/AnimationsManager.h"

View File

@ -10,7 +10,6 @@
#include "td/telegram/ChatId.h" #include "td/telegram/ChatId.h"
#include "td/telegram/DialogId.h" #include "td/telegram/DialogId.h"
#include "td/telegram/PtsManager.h" #include "td/telegram/PtsManager.h"
#include "td/telegram/td_api.h"
#include "td/telegram/telegram_api.h" #include "td/telegram/telegram_api.h"
#include "td/telegram/UserId.h" #include "td/telegram/UserId.h"