From 46946c73236285649950071632beb3f3e855b2ea Mon Sep 17 00:00:00 2001 From: John Preston Date: Mon, 27 Aug 2018 14:34:18 +0300 Subject: [PATCH] Use correct SHA1_ functions. Fixes #5103. --- Telegram/SourceFiles/base/openssl_help.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Telegram/SourceFiles/base/openssl_help.h b/Telegram/SourceFiles/base/openssl_help.h index 0ad4916be..9d776b3da 100644 --- a/Telegram/SourceFiles/base/openssl_help.h +++ b/Telegram/SourceFiles/base/openssl_help.h @@ -388,9 +388,9 @@ template < inline bytes::vector Sha1(Args &&...args) { return details::Sha( SHA_CTX(), - SHA_Init, - SHA_Update, - SHA_Final, + SHA1_Init, + SHA1_Update, + SHA1_Final, args...); }