config_method_ttls is now descendant of config_method_tls
This commit is contained in:
@@ -30,6 +30,8 @@ namespace eap
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "Credentials.h"
|
||||
|
||||
#include "../../TLS/include/Config.h"
|
||||
#include "../../PAP/include/Config.h"
|
||||
|
||||
@@ -40,7 +42,7 @@ namespace eap
|
||||
|
||||
|
||||
namespace eap {
|
||||
class config_method_ttls : public config_method
|
||||
class config_method_ttls : public config_method_tls
|
||||
{
|
||||
public:
|
||||
///
|
||||
@@ -143,10 +145,9 @@ namespace eap {
|
||||
///
|
||||
/// Generates public identity using current configuration and given credentials
|
||||
///
|
||||
std::wstring get_public_identity(const credentials &cred) const;
|
||||
std::wstring get_public_identity(const credentials_ttls &cred) const;
|
||||
|
||||
public:
|
||||
config_method_tls m_outer; ///< Outer authentication configuration
|
||||
std::unique_ptr<config> m_inner; ///< Inner authentication configuration
|
||||
std::wstring m_anonymous_identity; ///< Anonymous identity
|
||||
};
|
||||
|
Reference in New Issue
Block a user