[noise] Initialize the protocol id's reserved field for ESP-IDF 6.1 (#20779)

This commit is contained in:
J. Nick Koston
2026-10-19 10:33:13 +13:00
committed by Jesse Hills
parent dd2582bdfd
commit ad8cd0dd3e
@@ -37,6 +37,7 @@ int NoiseResponderHandshake::init(const NoiseContext &ctx, const uint8_t *prolog
.cipher_id = NOISE_CIPHER_CHACHAPOLY,
.hash_id = NOISE_HASH_SHA256,
.hybrid_id = NOISE_DH_NONE,
.reserved = {},
};
int err = noise_handshakestate_new_by_id(&this->handshake_, &nid, NOISE_ROLE_RESPONDER);