EapHost: Disambiguate from native EAP methods
When eap::config_method_eaphost::get_method_id() returns EAP-MSCHAPv2, XML-to-BLOB gets confused and picks native EAP-MSCHAPv2 implementation. Therefore, it was updated to always return unknown EAP type. Outer method does not need to know the exact method implemented by EapHost inner method. Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -123,17 +123,10 @@ namespace eap
|
||||
inline void set_type(_In_ const EAP_METHOD_TYPE &type)
|
||||
{
|
||||
m_type = type;
|
||||
update_type();
|
||||
}
|
||||
|
||||
protected:
|
||||
/// \cond internal
|
||||
void update_type();
|
||||
/// \endcond
|
||||
|
||||
protected:
|
||||
EAP_METHOD_TYPE m_type; ///< EapHost method type: (EAP type, vendor ID, vendor type, author ID) tuple
|
||||
std::wstring m_type_str; ///< EAP method type as a string
|
||||
|
||||
public:
|
||||
sanitizing_blob m_cfg_blob; ///< Method configuration BLOB
|
||||
|
Reference in New Issue
Block a user