mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 09:36:41 +00:00
This commit is contained in:
parent
439bc90256
commit
4c5a2bbd77
@ -2,7 +2,7 @@
|
||||
BEGIN {
|
||||
if ((ENVIRON["USEOPENSSLFORXCAT"]) || (ENVIRON["AIX"])) {
|
||||
server = "openssl s_client -quiet -no_ssl3 -connect " ENVIRON["XCATSERVER"] " -rand /bin/nice 2> /dev/null"
|
||||
if (system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
if (!system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
server = "openssl s_client -quiet -no_ssl3 -no_ssl2 -connect " ENVIRON["XCATSERVER"] " -rand /bin/nice 2> /dev/null"
|
||||
}
|
||||
} else {
|
||||
|
@ -2,7 +2,7 @@
|
||||
BEGIN {
|
||||
if (ENVIRON["USEOPENSSLFORXCAT"]) {
|
||||
server = "openssl s_client -no_ssl3 -connect " ENVIRON["XCATSERVER"] " -rand /bin/nice 2> /dev/null"
|
||||
if (system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
if (!system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
server = "openssl s_client -no_ssl3 -no_ssl2 -connect " ENVIRON["XCATSERVER"] " -rand /bin/nice 2> /dev/null"
|
||||
}
|
||||
} else {
|
||||
|
@ -2,7 +2,7 @@
|
||||
BEGIN {
|
||||
if (ENVIRON["USEOPENSSLFORXCAT"]) {
|
||||
server = "openssl s_client -no_ssl3 -connect " ENVIRON["XCATSERVER"] " -rand /bin/nice 2> /dev/null"
|
||||
if (system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
if (!system("openssl s_client -help 2>&1 | grep -m 1 -q -- -no_ssl2")) {
|
||||
server = "openssl s_client -no_ssl3 -no_ssl2 -connect " ENVIRON["XCATSERVER"] " 2> /dev/null"
|
||||
}
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user