Maemo: Clear the credentials before each connection attempt.
This commit is contained in:
@@ -125,6 +125,8 @@ static gboolean initiate_connection(private_maemo_plugin_t *this,
|
|||||||
|
|
||||||
DBG1(DBG_CFG, "received initiate for connection '%s'", this->current);
|
DBG1(DBG_CFG, "received initiate for connection '%s'", this->current);
|
||||||
|
|
||||||
|
this->creds->clear(this->creds);
|
||||||
|
|
||||||
cert = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
|
cert = lib->creds->create(lib->creds, CRED_CERTIFICATE, CERT_X509,
|
||||||
BUILD_FROM_FILE, cacert, BUILD_END);
|
BUILD_FROM_FILE, cacert, BUILD_END);
|
||||||
if (cert)
|
if (cert)
|
||||||
|
|||||||
Reference in New Issue
Block a user