Windows compiles! (w/Visual Studio 2012) That's about all it does, but it's a start.

This commit is contained in:
Adam Ierymenko 2013-08-12 21:25:36 -04:00
parent 5076c75b07
commit d6414c9ff7
30 changed files with 191 additions and 87 deletions

View file

@ -173,7 +173,7 @@ public:
/**
* @return True if this identity has its private portion
*/
inline bool hasPrivate() const throw() { return (_keyPair); }
inline bool hasPrivate() const throw() { return (_keyPair != (EllipticCurveKeyPair *)0); }
/**
* Shortcut method to perform key agreement with another identity
@ -356,7 +356,7 @@ public:
/**
* @return True if this identity contains something
*/
inline operator bool() const throw() { return (_publicKey.size()); }
inline operator bool() const throw() { return (_publicKey.size() != 0); }
inline bool operator==(const Identity &id) const
throw()