From d08488d9165a66bcbd9b2a8086025fcb252aaabe Mon Sep 17 00:00:00 2001 From: Simon Rozman Date: Mon, 24 Oct 2016 14:42:56 +0200 Subject: [PATCH] pEapOutput Prefast specifier for set_response_attributes() methods changed # Conflicts: # lib/EAPBase/include/Method.h # lib/EAPBase/src/Method.cpp # lib/TTLS/include/Method.h # lib/TTLS/src/Method.cpp --- lib/EAPBase/include/Module.h | 2 +- lib/TTLS/include/Module.h | 2 +- lib/TTLS/src/Module.cpp | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/EAPBase/include/Module.h b/lib/EAPBase/include/Module.h index eaf4d47..a20132d 100644 --- a/lib/EAPBase/include/Module.h +++ b/lib/EAPBase/include/Module.h @@ -781,7 +781,7 @@ namespace eap virtual void set_response_attributes( _In_ EAP_SESSION_HANDLE hSession, _In_ const EapAttributes *pAttribs, - _Inout_ EapPeerMethodOutput *pEapOutput) = 0; + _Out_ EapPeerMethodOutput *pEapOutput) = 0; /// @} }; diff --git a/lib/TTLS/include/Module.h b/lib/TTLS/include/Module.h index edcc02a..5689f9e 100644 --- a/lib/TTLS/include/Module.h +++ b/lib/TTLS/include/Module.h @@ -209,7 +209,7 @@ namespace eap virtual void set_response_attributes( _In_ EAP_SESSION_HANDLE hSession, _In_ const EapAttributes *pAttribs, - _Inout_ EapPeerMethodOutput *pEapOutput); + _Out_ EapPeerMethodOutput *pEapOutput); /// @} diff --git a/lib/TTLS/src/Module.cpp b/lib/TTLS/src/Module.cpp index 206eab5..df65d3f 100644 --- a/lib/TTLS/src/Module.cpp +++ b/lib/TTLS/src/Module.cpp @@ -334,9 +334,9 @@ void eap::peer_ttls::get_response_attributes( void eap::peer_ttls::set_response_attributes( - _In_ EAP_SESSION_HANDLE hSession, - _In_ const EapAttributes *pAttribs, - _Inout_ EapPeerMethodOutput *pEapOutput) + _In_ EAP_SESSION_HANDLE hSession, + _In_ const EapAttributes *pAttribs, + _Out_ EapPeerMethodOutput *pEapOutput) { UNREFERENCED_PARAMETER(hSession); UNREFERENCED_PARAMETER(pAttribs);