We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2e92137 + 3f4f9ef commit 70ec996Copy full SHA for 70ec996
src/Identity.h
@@ -64,7 +64,7 @@ class LocalIdentity : public Identity {
64
* \param secret OUT - the 'shared secret' (must be PUB_KEY_SIZE bytes)
65
* \param other IN - the second party in the exchange.
66
*/
67
- void calcSharedSecret(uint8_t* secret, const Identity& other) { calcSharedSecret(secret, other.pub_key); }
+ void calcSharedSecret(uint8_t* secret, const Identity& other) const { calcSharedSecret(secret, other.pub_key); }
68
69
/**
70
* \brief the ECDH key exhange, with Ed25519 public key transposed to Ex25519.
0 commit comments