From 622fbdb64b19bdb2a88b4afdf94bfd54daa0a940 Mon Sep 17 00:00:00 2001 From: John Preston Date: Fri, 5 May 2017 14:49:46 +0300 Subject: [PATCH] Fix BN_div/mod_word() usage. --- Telegram/SourceFiles/base/openssl_help.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/base/openssl_help.h b/Telegram/SourceFiles/base/openssl_help.h index b8f260e064..f86dbff507 100644 --- a/Telegram/SourceFiles/base/openssl_help.h +++ b/Telegram/SourceFiles/base/openssl_help.h @@ -113,7 +113,7 @@ public: _failed = true; } } - unsigned int setDivWord(unsigned int word) { + BN_ULONG setDivWord(BN_ULONG word) { Expects(word != 0); if (failed()) { return (BN_ULONG)-1; @@ -144,7 +144,7 @@ public: return false; } - unsigned int modWord(unsigned int word) const { + BN_ULONG modWord(BN_ULONG word) const { Expects(word != 0); if (failed()) { return (BN_ULONG)-1;