diff --git a/src/protocols/secure_channel/PASESession.h b/src/protocols/secure_channel/PASESession.h index 593cb753f4..9245c1bbf0 100644 --- a/src/protocols/secure_channel/PASESession.h +++ b/src/protocols/secure_channel/PASESession.h @@ -213,10 +213,11 @@ class DLL_EXPORT PASESession : public Messaging::UnsolicitedMessageHandler, // mNextExpectedMsg is set when we are expecting a message. Optional mNextExpectedMsg; -#elif CHIP_CRYPTO_PSA_SPAKE2P +#if CHIP_CRYPTO_PSA_SPAKE2P PSASpake2p_P256_SHA256_HKDF_HMAC mSpake2p; +#else Spake2p_P256_SHA256_HKDF_HMAC mSpake2p; - +#endif Spake2pVerifier mPASEVerifier; uint32_t mSetupPINCode;