|
|
@ -524,7 +524,7 @@ TQStringList Utils::getOpenvpnCiphers()
|
|
|
|
delete OpenvpnCiphersProcess;
|
|
|
|
delete OpenvpnCiphersProcess;
|
|
|
|
OpenvpnCiphersProcess=0L;
|
|
|
|
OpenvpnCiphersProcess=0L;
|
|
|
|
kdError() << "Unable to fetch openvpn ciphers!" << endl;
|
|
|
|
kdError() << "Unable to fetch openvpn ciphers!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -921,7 +921,7 @@ TQStringList Utils::getOpenvpnDigests()
|
|
|
|
delete OpenvpnDigestProcess;
|
|
|
|
delete OpenvpnDigestProcess;
|
|
|
|
OpenvpnDigestProcess=0L;
|
|
|
|
OpenvpnDigestProcess=0L;
|
|
|
|
kdError() << "Unable to fetch openvpn digests!" << endl;
|
|
|
|
kdError() << "Unable to fetch openvpn digests!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1036,7 +1036,7 @@ TQString Utils::getNameAndPidOfProgramListen( int port )
|
|
|
|
delete NameAndPidOfProgramListenProcess;
|
|
|
|
delete NameAndPidOfProgramListenProcess;
|
|
|
|
NameAndPidOfProgramListenProcess=0L;
|
|
|
|
NameAndPidOfProgramListenProcess=0L;
|
|
|
|
kdError() << "netstat fails!" << endl;
|
|
|
|
kdError() << "netstat fails!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1076,7 +1076,7 @@ TQString Utils::getEmailAddressOfCert(TQString cert)
|
|
|
|
delete GetEmailAddressOfCertProcess;
|
|
|
|
delete GetEmailAddressOfCertProcess;
|
|
|
|
GetEmailAddressOfCertProcess=0L;
|
|
|
|
GetEmailAddressOfCertProcess=0L;
|
|
|
|
kdError() << "GetEmailAddressOfCertProcess" << endl;
|
|
|
|
kdError() << "GetEmailAddressOfCertProcess" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1125,7 +1125,7 @@ TQStringList Utils::getSmartcardSlots(TQString ProviderLib)
|
|
|
|
delete GetSmartcardSlotsProcess;
|
|
|
|
delete GetSmartcardSlotsProcess;
|
|
|
|
GetSmartcardCertsFromSlotProcess=0L;
|
|
|
|
GetSmartcardCertsFromSlotProcess=0L;
|
|
|
|
config->appendLogEntry(i18n("Unable to fetch smartcard slots via pkcs11-tool!"), config->error);
|
|
|
|
config->appendLogEntry(i18n("Unable to fetch smartcard slots via pkcs11-tool!"), config->error);
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1191,7 +1191,7 @@ TQStringList Utils::getSmartcardCertsFromSlot(TQString slot,TQString IdType,TQSt
|
|
|
|
delete GetSmartcardCertsFromSlotProcess;
|
|
|
|
delete GetSmartcardCertsFromSlotProcess;
|
|
|
|
GetSmartcardCertsFromSlotProcess=0L;
|
|
|
|
GetSmartcardCertsFromSlotProcess=0L;
|
|
|
|
kdError() << "Unable to fetch smartcard slots via pkcs11-tool!" << endl;
|
|
|
|
kdError() << "Unable to fetch smartcard slots via pkcs11-tool!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1248,7 +1248,7 @@ TQStringList Utils::getCertsFromCiscoCertStore(TQString type)
|
|
|
|
delete GetCertsFromCiscoCertStoreProcess;
|
|
|
|
delete GetCertsFromCiscoCertStoreProcess;
|
|
|
|
GetCertsFromCiscoCertStoreProcess=0L;
|
|
|
|
GetCertsFromCiscoCertStoreProcess=0L;
|
|
|
|
kdError() << "Unable to fetch certificates via cisco_cert_mgr!" << endl;
|
|
|
|
kdError() << "Unable to fetch certificates via cisco_cert_mgr!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -1287,7 +1287,7 @@ TQStringList Utils::getOpenvpnPkcs11Ids(TQString ProviderLib)
|
|
|
|
delete OpenvpnPkcs11IdsProcess;
|
|
|
|
delete OpenvpnPkcs11IdsProcess;
|
|
|
|
OpenvpnPkcs11IdsProcess=0L;
|
|
|
|
OpenvpnPkcs11IdsProcess=0L;
|
|
|
|
kdError() << "Unable to fetch pkcs11 ids via openvpn!" << endl;
|
|
|
|
kdError() << "Unable to fetch pkcs11 ids via openvpn!" << endl;
|
|
|
|
return false;
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else
|
|
|
|
else
|
|
|
|
{
|
|
|
|
{
|
|
|
|