diff --git a/.gitignore b/.gitignore index 3cd9794..02ee487 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,7 @@ -## Ignore Visual Studio temporary files, build results, and -## files generated by popular Visual Studio add-ons. - # additions by alec (tm) build/ connectionStrings.config *.kdev4 .kdev4/ +.idea/ +cmake-build-*/ \ No newline at end of file diff --git a/server/src/crypto/keyex.cpp b/server/src/crypto/keyex.cpp index 533d8b8..a21c442 100644 --- a/server/src/crypto/keyex.cpp +++ b/server/src/crypto/keyex.cpp @@ -3,8 +3,8 @@ sosc::BigUInt sosc::cgc::KeyExchange::secret; sosc::cgc::KeyExchange::KeyExchange() { - if(KeyExchange::secret.IsZero()) - KeyExchange::secret = FastRandomPrime(); + if(this->secret.IsZero()) + this->secret = FastRandomPrime(); this->modulus = FastRandomPrime(); }