mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix BN_div/mod_word() usage.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user