This commit is contained in:
malloc 2018-04-23 10:20:06 -05:00
commit 111e2c10db
2 changed files with 4 additions and 5 deletions

5
.gitignore vendored
View file

@ -1,8 +1,7 @@
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# additions by alec (tm) # additions by alec (tm)
build/ build/
connectionStrings.config connectionStrings.config
*.kdev4 *.kdev4
.kdev4/ .kdev4/
.idea/
cmake-build-*/

View file

@ -3,8 +3,8 @@
sosc::BigUInt sosc::cgc::KeyExchange::secret; sosc::BigUInt sosc::cgc::KeyExchange::secret;
sosc::cgc::KeyExchange::KeyExchange() { sosc::cgc::KeyExchange::KeyExchange() {
if(KeyExchange::secret.IsZero()) if(this->secret.IsZero())
KeyExchange::secret = FastRandomPrime(); this->secret = FastRandomPrime();
this->modulus = FastRandomPrime(); this->modulus = FastRandomPrime();
} }