1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-17 10:52:46 +00:00

if the N value is zero, send an empty seed to the server and expect an empty seed back. Don't use encryption.

This commit is contained in:
diafero
2011-08-04 13:21:39 +02:00
parent d5885dd677
commit 837dae9b69
4 changed files with 102 additions and 76 deletions

View File

@ -89,6 +89,10 @@ public:
{
return BN_cmp(&m_number, &a.m_number);
}
bool isZero() const
{
return BN_is_zero(&m_number);
}
void Div (const BigNum & a, dword b, dword * remainder)
{