summaryrefslogtreecommitdiffstats
path: root/src/importcertificatedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/importcertificatedialog.cpp')
-rw-r--r--src/importcertificatedialog.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/importcertificatedialog.cpp b/src/importcertificatedialog.cpp
index a6a6cb7..91c6a9d 100644
--- a/src/importcertificatedialog.cpp
+++ b/src/importcertificatedialog.cpp
@@ -1001,7 +1001,7 @@ void ImportCertificateDialog::readFromStdout_import()
// LogOutput->append( "<font color=\"red\">[std]: hash" + line + "</font>" );
}
- if ( line.find ( "Enter Import Password" , 0, FALSE ) > -1 )
+ if ( line.find ( "Enter Import Password" , 0, false ) > -1 )
{
if ( GlobalConfig->KvpncDebugLevel > 0 )
GlobalConfig->appendLogEntry ( i18n ( "Certificate import: %1 was requested, send it..." ).arg ( i18n ( " import password" ) ),GlobalConfig->debug );
@@ -1012,7 +1012,7 @@ void ImportCertificateDialog::readFromStdout_import()
ImportProcess->writeToStdin ( main->ImportPasswordEdit->text() + "\n" );
}
- else if ( line.find ( "Enter PEM pass phrase" , 0, FALSE ) > -1 )
+ else if ( line.find ( "Enter PEM pass phrase" , 0, false ) > -1 )
{
if ( askpasscount < 10 )
@@ -1050,14 +1050,14 @@ void ImportCertificateDialog::readFromStdout_import()
if ( GlobalConfig->KvpncDebugLevel > 2 )
GlobalConfig->appendLogEntry ("[cisco_cert_mgr raw] "+line,GlobalConfig->debug);
- if ( line.find ( "Password:" , 0, FALSE ) > -1 || line.find ( "Confirm Password:" , 0, FALSE ) > -1 )
+ if ( line.find ( "Password:" , 0, false ) > -1 || line.find ( "Confirm Password:" , 0, false ) > -1 )
{
if ( GlobalConfig->KvpncDebugLevel > 0 )
GlobalConfig->appendLogEntry ( i18n ( "Certificate import: %1 was requested, send it..." ).arg ( i18n ( "certificate password" ) ),GlobalConfig->debug );
ImportProcess->writeToStdin ( main->PrivateKeyPasswordEdit->password() + "\n" );
}
- if ( line.find ( "Success: certificate imported from path:", 0, FALSE ) > -1 )
+ if ( line.find ( "Success: certificate imported from path:", 0, false ) > -1 )
{
GlobalConfig->appendLogEntry ( i18n ( "Certificate import was successful." ) ,GlobalConfig->info );
@@ -1079,7 +1079,7 @@ void ImportCertificateDialog::readFromStderr_import()
TQString line = TQString ( ImportProcess->readLineStderr() );
if ( GlobalConfig->KvpncDebugLevel > 3 )
{
- if ( line.find ( "Enter Import Pass", 0, FALSE ) > -1 || line.find ( "Enter PEM pass phrase", 0, FALSE ) > -1 || line.find ( "MAC verified OK", 0, FALSE ) > -1 || line.find ( "Enter pass phrase for", 0, FALSE ) > -1 || line.find ( "writing RSA key", 0, FALSE ) > -1 )
+ if ( line.find ( "Enter Import Pass", 0, false ) > -1 || line.find ( "Enter PEM pass phrase", 0, false ) > -1 || line.find ( "MAC verified OK", 0, false ) > -1 || line.find ( "Enter pass phrase for", 0, false ) > -1 || line.find ( "writing RSA key", 0, false ) > -1 )
{
GlobalConfig->appendLogEntry ( i18n ( "Certificate import: %1" ).arg ( line ),GlobalConfig->info );
}
@@ -1088,7 +1088,7 @@ void ImportCertificateDialog::readFromStderr_import()
GlobalConfig->appendLogEntry ( i18n ( "Certificate import stderr: %1" ).arg ( line ),GlobalConfig->error );
}
}
- if ( line.find ( "Error",9, FALSE ) > -1 )
+ if ( line.find ( "Error",9, false ) > -1 )
{
GlobalConfig->appendLogEntry ( i18n ( "Certificate import: %1" ).arg ( line ),GlobalConfig->error );
importSuccess=false;
@@ -1097,7 +1097,7 @@ void ImportCertificateDialog::readFromStderr_import()
// error_found=true;
}
- else if ( line.find ( "invalid password" , 0, FALSE ) > -1 || line.find ( "Mac verify error: invalid password?", 0, FALSE ) > -1 )
+ else if ( line.find ( "invalid password" , 0, false ) > -1 || line.find ( "Mac verify error: invalid password?", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::sorry ( this , i18n ( "Wrong password." ), i18n ( "Password Failed" ) );
@@ -1109,7 +1109,7 @@ void ImportCertificateDialog::readFromStderr_import()
GlobalConfig->appPointer->restoreOverrideCursor();
}
- else if ( line.find ( "unable to load certificate", 0, FALSE ) > -1 )
+ else if ( line.find ( "unable to load certificate", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::error ( this, i18n ( "Unable to load certificate!" ), i18n ( "Load Failed" ) );
@@ -1129,7 +1129,7 @@ void ImportCertificateDialog::readFromStderr_import()
done=true;
return;
}
- else if ( line.find ( "unable to load Private Key", 0, FALSE ) > -1 )
+ else if ( line.find ( "unable to load Private Key", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::error ( this, i18n ( "unable to load Private Key!" ), i18n ( "Load Failed" ) );
@@ -1146,7 +1146,7 @@ void ImportCertificateDialog::readFromStderr_import()
done=true;
}
- else if ( line.find ( "Error opening output file", 0, FALSE ) > -1 )
+ else if ( line.find ( "Error opening output file", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::error ( this, i18n ( "Error opening output file." ), i18n ( "File open failed" ) );
@@ -1158,7 +1158,7 @@ void ImportCertificateDialog::readFromStderr_import()
GlobalConfig->appPointer->restoreOverrideCursor();
done=true;
}
- else if ( line.find ( "Verify failure", 0, FALSE ) > -1 )
+ else if ( line.find ( "Verify failure", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::error ( this, i18n ( "Verify failure at private key password." ), i18n ( "Verify failure" ) );
@@ -1171,7 +1171,7 @@ void ImportCertificateDialog::readFromStderr_import()
done=true;
}
- else if ( line.find ( "MAC verified OK", 0, FALSE ) > -1 )
+ else if ( line.find ( "MAC verified OK", 0, false ) > -1 )
{
GlobalConfig->appendLogEntry ( i18n ( "Import password was ok." ) ,GlobalConfig->debug );
importSuccess=true;
@@ -1183,7 +1183,7 @@ void ImportCertificateDialog::readFromStderr_import()
if ( GlobalConfig->KvpncDebugLevel > 2 )
GlobalConfig->appendLogEntry ("[cisco_cert_mgr raw err] "+line,GlobalConfig->debug);
- if ( line.find ( "error: unable to import certificate from path:", 0, FALSE ) > -1 )
+ if ( line.find ( "error: unable to import certificate from path:", 0, false ) > -1 )
{
if (error_found==false)
KMessageBox::error ( this, i18n ( "Unable to load certificate!" ), i18n ( "Load Failed" ) );
@@ -1200,7 +1200,7 @@ void ImportCertificateDialog::readFromStderr_import()
done=true;
}
- else if ( line.find ( "Success: certificate imported from path:", 0, FALSE ) > -1 )
+ else if ( line.find ( "Success: certificate imported from path:", 0, false ) > -1 )
{
GlobalConfig->appendLogEntry ( i18n ( "Certificate imported from path." ) ,GlobalConfig->error );
importOk=true;