Skip to content
Snippets Groups Projects
Commit 636d2ebe authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews
Browse files

configurationmanager: remove unused parameter

Change-Id: Iaaf228e155a74181279e00dea6c0d7c22ba7943d
Refs: #49172
parent 58714aa9
No related branches found
No related tags found
No related merge requests found
...@@ -566,7 +566,8 @@ bool ConfigurationManager::checkCertificateValidity(const std::string& caPath, ...@@ -566,7 +566,8 @@ bool ConfigurationManager::checkCertificateValidity(const std::string& caPath,
#endif #endif
} }
bool ConfigurationManager::checkHostnameCertificate(const std::string& certificatePath, const std::string& host, const std::string& port) bool ConfigurationManager::checkHostnameCertificate(const std::string& host,
const std::string& port)
{ {
#if HAVE_TLS #if HAVE_TLS
return verifyHostnameCertificate(host.c_str(), return verifyHostnameCertificate(host.c_str(),
......
...@@ -168,7 +168,8 @@ class ConfigurationManager ...@@ -168,7 +168,8 @@ class ConfigurationManager
bool checkForPrivateKey(const std::string& pemPath); bool checkForPrivateKey(const std::string& pemPath);
bool checkCertificateValidity(const std::string& caPath, bool checkCertificateValidity(const std::string& caPath,
const std::string& pemPath); const std::string& pemPath);
bool checkHostnameCertificate(const std::string& certificatePath, const std::string& host, const std::string& port); bool checkHostnameCertificate(const std::string& host,
const std::string& port);
/* the following signals must be implemented manually for any /* the following signals must be implemented manually for any
* platform or configuration that does not supply dbus */ * platform or configuration that does not supply dbus */
......
...@@ -639,8 +639,6 @@ ...@@ -639,8 +639,6 @@
</method> </method>
<method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate"> <method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate">
<arg type="s" name="pemPath" direction="in">
</arg>
<arg type="s" name="host" direction="in"> <arg type="s" name="host" direction="in">
</arg> </arg>
<arg type="s" name="port" direction="in"> <arg type="s" name="port" direction="in">
......
...@@ -639,8 +639,6 @@ ...@@ -639,8 +639,6 @@
</method> </method>
<method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate"> <method name="checkHostnameCertificate" tp:name-for-bindings="checkHostnameCertificate">
<arg type="s" name="pemPath" direction="in">
</arg>
<arg type="s" name="host" direction="in"> <arg type="s" name="host" direction="in">
</arg> </arg>
<arg type="s" name="port" direction="in"> <arg type="s" name="port" direction="in">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment