Common PAP and MSCHAPv2 code merged in intermediate base class method_noneap
This commit is contained in:
@@ -37,7 +37,7 @@ namespace eap
|
||||
|
||||
namespace eap
|
||||
{
|
||||
class method_pap : public method
|
||||
class method_pap : public method_noneap
|
||||
{
|
||||
public:
|
||||
///
|
||||
@@ -89,15 +89,6 @@ namespace eap
|
||||
_In_ DWORD dwReceivedPacketSize,
|
||||
_Inout_ EapPeerMethodOutput *pEapOutput);
|
||||
|
||||
///
|
||||
/// Obtains a response packet from the EAP method.
|
||||
///
|
||||
/// \sa [EapPeerGetResponsePacket function](https://msdn.microsoft.com/en-us/library/windows/desktop/aa363610.aspx)
|
||||
///
|
||||
virtual void get_response_packet(
|
||||
_Inout_bytecap_(*dwSendPacketSize) void *pSendPacket,
|
||||
_Inout_ DWORD *pdwSendPacketSize);
|
||||
|
||||
///
|
||||
/// Obtains the result of an authentication session from the EAP method.
|
||||
///
|
||||
@@ -112,8 +103,6 @@ namespace eap
|
||||
protected:
|
||||
credentials_pap &m_cred; ///< EAP-TLS user credentials
|
||||
|
||||
sanitizing_blob m_packet_res; ///< Response packet
|
||||
|
||||
enum {
|
||||
phase_unknown = -1, ///< Unknown phase
|
||||
phase_init = 0, ///< Handshake initialize
|
||||
|
Reference in New Issue
Block a user