Resolve the make_...() methods
Signed-off-by: Simon Rozman <simon@rozman.si>
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
/*
|
||||
Copyright 2015-2020 Amebis
|
||||
Copyright 2016 GÉANT
|
||||
Copyright 2016 G<EFBFBD>ANT
|
||||
|
||||
This file is part of GÉANTLink.
|
||||
This file is part of G<EFBFBD>ANTLink.
|
||||
|
||||
GÉANTLink is free software: you can redistribute it and/or modify it
|
||||
G<EFBFBD>ANTLink is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
GÉANTLink is distributed in the hope that it will be useful, but
|
||||
G<EFBFBD>ANTLink is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with G<EFBFBD>ANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
namespace eap
|
||||
@@ -157,12 +157,12 @@ namespace eap
|
||||
|
||||
protected:
|
||||
///
|
||||
/// Makes a new inner method
|
||||
/// Makes a new method
|
||||
///
|
||||
/// \param[in] cfg Method configuration
|
||||
/// \param[in] cred Credentials
|
||||
///
|
||||
/// \returns A new inner method of given type
|
||||
/// \returns A new method
|
||||
///
|
||||
virtual method* make_method(_In_ config_method_tls &cfg, _In_ credentials_tls &cred) = 0;
|
||||
|
||||
|
@@ -1,21 +1,21 @@
|
||||
/*
|
||||
Copyright 2015-2020 Amebis
|
||||
Copyright 2016 GÉANT
|
||||
Copyright 2016 G<EFBFBD>ANT
|
||||
|
||||
This file is part of GÉANTLink.
|
||||
This file is part of G<EFBFBD>ANTLink.
|
||||
|
||||
GÉANTLink is free software: you can redistribute it and/or modify it
|
||||
G<EFBFBD>ANTLink is free software: you can redistribute it and/or modify it
|
||||
under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
GÉANTLink is distributed in the hope that it will be useful, but
|
||||
G<EFBFBD>ANTLink is distributed in the hope that it will be useful, but
|
||||
WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with GÉANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
along with G<EFBFBD>ANTLink. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "StdAfx.h"
|
||||
@@ -170,7 +170,7 @@ void eap::peer_tls_base::credentials_xml2blob(
|
||||
UNREFERENCED_PARAMETER(dwConnectionDataSize);
|
||||
|
||||
// Load credentials from XML.
|
||||
unique_ptr<config_method> cfg(make_config_method());
|
||||
unique_ptr<config_method> cfg(make_config());
|
||||
unique_ptr<credentials> cred(cfg->make_credentials());
|
||||
cred->load(pConfigRoot);
|
||||
|
||||
|
Reference in New Issue
Block a user