1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-07 03:22:57 +03:00

change rsa key checkin

This commit is contained in:
david hill
2016-05-26 15:52:41 -05:00
parent fbb2b64d5c
commit 873111ce3f
2 changed files with 3 additions and 3 deletions

View File

@@ -4657,7 +4657,7 @@ namespace oam
{ {
buf = line; buf = line;
string::size_type pos = buf.find("Offending RSA key",0); string::size_type pos = buf.find("Offending",0);
if (pos != string::npos) { if (pos != string::npos) {
// line ID // line ID
pos = buf.find(":",0); pos = buf.find(":",0);

View File

@@ -4602,8 +4602,8 @@ int ProcessManager::addModule(oam::DeviceNetworkList devicenetworklist, std::str
system(cmd.c_str()); system(cmd.c_str());
if (!oam.checkLogStatus("/tmp/login_test.log", "README")) { if (!oam.checkLogStatus("/tmp/login_test.log", "README")) {
//check for RSA KEY ISSUE and fix //check for RSA KEY ISSUE and fix
if (oam.checkLogStatus("/tmp/login_test.log", "Offending RSA key")) { if (oam.checkLogStatus("/tmp/login_test.log", "Offending")) {
log.writeLog(__LINE__, "addModule - login failed, RSA key issue, try fixing: " + moduleName, LOG_TYPE_DEBUG); log.writeLog(__LINE__, "addModule - login failed, Offending key issue, try fixing: " + moduleName, LOG_TYPE_DEBUG);
string file = "/tmp/login_test.log"; string file = "/tmp/login_test.log";
oam.fixRSAkey(file); oam.fixRSAkey(file);
} }