Rename instances of OSX to MacOS
This commit is contained in:
+2
-2
@@ -422,7 +422,7 @@ sub verify
|
||||
|
||||
$salt = substr ($decoded, 64);
|
||||
}
|
||||
# OSX (first 8 hex chars is salt)
|
||||
# MacOS (first 8 hex chars is salt)
|
||||
# ArubaOS (the signature gets added in gen_hash)
|
||||
elsif ($mode == 122 || $mode == 1722 || $mode == 125)
|
||||
{
|
||||
@@ -873,7 +873,7 @@ sub verify
|
||||
$salt = substr ($decoded, 0, 12);
|
||||
$salt = unpack ("H*", $salt);
|
||||
}
|
||||
# OSX 10.* : $something$iter$salt$
|
||||
# MacOS 10.* : $something$iter$salt$
|
||||
elsif ($mode == 7100)
|
||||
{
|
||||
my $index1 = index ($line, ":");
|
||||
|
||||
+5
-5
@@ -2230,9 +2230,9 @@ OPTIONS:
|
||||
'64' => 64 bit architecture (default)
|
||||
|
||||
-o Select operating system :
|
||||
'win' => windows operating system (use .exe file extension etc)
|
||||
'linux' => *nix based operating systems (.bin for binaries)
|
||||
'osx' => mac osx operating systems (.app for binaries)
|
||||
'win' => Windows operating system (use .exe file extension)
|
||||
'linux' => Linux operating system (use .bin file extension)
|
||||
'macos' => MacOS operating system (use .app file extension)
|
||||
|
||||
-c Disables markov-chains
|
||||
|
||||
@@ -2359,7 +2359,7 @@ while getopts "V:T:t:m:a:b:hcpd:x:o:" opt; do
|
||||
EXTENSION="exe"
|
||||
elif [ ${OPTARG} == "linux" ]; then
|
||||
EXTENSION="bin"
|
||||
elif [ ${OPTARG} == "osx" ]; then
|
||||
elif [ ${OPTARG} == "macos" ]; then
|
||||
EXTENSION="app"
|
||||
else
|
||||
usage
|
||||
@@ -2608,7 +2608,7 @@ if [ "${PACKAGE}" -eq 1 ]; then
|
||||
|
||||
UNAME=$(uname -s)
|
||||
|
||||
# of course OSX requires us to implement a special case (sed -i "" for the backup file)
|
||||
# of course MacOS requires us to implement a special case (sed -i "" for the backup file)
|
||||
if [ "${UNAME}" == "Darwin" ] ; then
|
||||
SED_IN_PLACE='-i ""'
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user