diff options
Diffstat (limited to 'tdutils/td/utils/crypto.cpp')
| -rw-r--r-- | tdutils/td/utils/crypto.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tdutils/td/utils/crypto.cpp b/tdutils/td/utils/crypto.cpp index bbaef2466..35eb0443c 100644 --- a/tdutils/td/utils/crypto.cpp +++ b/tdutils/td/utils/crypto.cpp @@ -214,7 +214,8 @@ static int pq_factorize_big(Slice pq_str, string *p_str, string *q_str) { } if (found) { - BigNum::div(&q, nullptr, pq, p, context); + auto status = BigNum::div(&q, nullptr, pq, p, context); + CHECK(status.is_ok()); if (BigNum::compare(p, q) > 0) { std::swap(p, q); } |
