mirror of
https://github.com/xcat2/confluent.git
synced 2026-04-13 04:11:31 +00:00
Amend arguments on IPv4 invocation
It turns out that when busybox invokes openssl for IPv4, it does not pass a servername field. In this case, start amending arguments after '-verify' instead, to catch the verify_ip argument correctly.
This commit is contained in:
@@ -95,7 +95,7 @@ cat > /usr/bin/openssl << 'EOF'
|
||||
AMENDARGS=0
|
||||
nargs=""
|
||||
for arg in $*; do
|
||||
if [ "$arg" == "-servername" ]; then
|
||||
if [ "$arg" == "-servername" -o "$arg" == "-verify" ]; then
|
||||
AMENDARGS=1
|
||||
fi
|
||||
if [ "$AMENDARGS" == "1" ]; then
|
||||
|
||||
@@ -98,7 +98,7 @@ if [ -z "$DIRECTISO" ]; then
|
||||
AMENDARGS=0
|
||||
nargs=""
|
||||
for arg in $*; do
|
||||
if [ "$arg" == "-servername" ]; then
|
||||
if [ "$arg" == "-servername" -o "$arg" == "-verify" ]; then
|
||||
AMENDARGS=1
|
||||
fi
|
||||
if [ "$AMENDARGS" == "1" ]; then
|
||||
|
||||
Reference in New Issue
Block a user