Merge pull request #853 from liamcottle/fix-calc-shared-secret

fix multiple candidates warning
这个提交包含在:
Liam Cottle
2025-09-28 21:05:03 +13:00
提交者 GitHub
当前提交 70ec996c08
+1 -1
查看文件
@@ -64,7 +64,7 @@ public:
* \param secret OUT - the 'shared secret' (must be PUB_KEY_SIZE bytes)
* \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.