fix multiple candidates warning

This commit is contained in:
liamcottle
2025-09-28 21:01:41 +13:00
parent 2e92137d10
commit 3f4f9eff17

View File

@@ -64,7 +64,7 @@ public:
* \param secret OUT - the 'shared secret' (must be PUB_KEY_SIZE bytes) * \param secret OUT - the 'shared secret' (must be PUB_KEY_SIZE bytes)
* \param other IN - the second party in the exchange. * \param other IN - the second party in the exchange.
*/ */
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); }
/** /**
* \brief the ECDH key exhange, with Ed25519 public key transposed to Ex25519. * \brief the ECDH key exhange, with Ed25519 public key transposed to Ex25519.