2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-15 01:01:33 +00:00

Remove trailing spaces in file perl-xCAT/xCAT/Client.pm

This commit is contained in:
GONG Jie
2017-12-31 23:59:59 +00:00
parent 5607fbe58d
commit 5a6b851df1

View File

@ -267,7 +267,7 @@ sub submit_request {
} else {
print "warning: the client certificates under $homedir/.xcat/ are not setup correctly, please run '/opt/xcat/share/xcat/scripts/setup-local-client.sh"." $ENV{'USER'}' as 'root' to generate the client certificates; otherwise, the SSL connection between xcat client and xcatd will be setup without certificate verification and open to Man-In-The-Middle attacks.\n";
#Using the default of SSL_verify_mode of SSL_VERIFY_NONE for client is deprecated!
#need to specify SSL_verify_mode => SSL_VERIFY_NONE explicitly
#need to specify SSL_verify_mode => SSL_VERIFY_NONE explicitly
$client = IO::Socket::SSL->start_SSL($pclient,
SSL_verify_mode => SSL_VERIFY_NONE,
Timeout => 0,
@ -1338,7 +1338,7 @@ sub handle_response {
}
if ($desc) {
$desc = "[$msgsource]: $desc" if ($showsource && $msgsource);
print "$desc\n";
print "$desc\n";
}
}
}