mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-09-14 00:49:09 +02:00
address warnings gcc 4.3
This commit is contained in:
@@ -52,14 +52,14 @@
|
||||
|
||||
using namespace std;
|
||||
|
||||
char *SSHSession::newKeyOpenSSH ="Are you sure you want to continue connecting (yes/no)?";
|
||||
char *SSHSession::newKeyPlink ="Store key in cache? (y/n)";
|
||||
char *SSHSession::newKeyVsh ="Accept and save? (y/n)";
|
||||
char *SSHSession::newKeySSHComm ="You can get a public key's fingerprint by running";
|
||||
const char *SSHSession::newKeyOpenSSH ="Are you sure you want to continue connecting (yes/no)?";
|
||||
const char *SSHSession::newKeyPlink ="Store key in cache? (y/n)";
|
||||
const char *SSHSession::newKeyVsh ="Accept and save? (y/n)";
|
||||
const char *SSHSession::newKeySSHComm ="You can get a public key's fingerprint by running";
|
||||
|
||||
|
||||
char *SSHSession::fingerprintPrompt1="key fingerprint is";
|
||||
char *SSHSession::fingerprintPrompt2="Key fingerprint:";
|
||||
const char *SSHSession::fingerprintPrompt1="key fingerprint is";
|
||||
const char *SSHSession::fingerprintPrompt2="Key fingerprint:";
|
||||
|
||||
|
||||
|
||||
@@ -109,7 +109,7 @@ SSHSession::SSHSession(QWidget *_par,
|
||||
|
||||
QString SSHSession::findKeyFingerprint(QString &buffer)
|
||||
{
|
||||
char *fp = fingerprintPrompt1;
|
||||
const char *fp = fingerprintPrompt1;
|
||||
int n1,n2;
|
||||
|
||||
if ( (n1=buffer.indexOf(fp))==-1)
|
||||
|
||||
@@ -137,12 +137,12 @@ class SSHSession : public QObject {
|
||||
QString epwd;
|
||||
QString host;
|
||||
|
||||
static char* newKeyOpenSSH;
|
||||
static char* newKeyPlink;
|
||||
static char* newKeyVsh;
|
||||
static char* newKeySSHComm;
|
||||
static char* fingerprintPrompt1;
|
||||
static char* fingerprintPrompt2;
|
||||
static const char* newKeyOpenSSH;
|
||||
static const char* newKeyPlink;
|
||||
static const char* newKeyVsh;
|
||||
static const char* newKeySSHComm;
|
||||
static const char* fingerprintPrompt1;
|
||||
static const char* fingerprintPrompt2;
|
||||
|
||||
QString newKeyMsg;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user