Skip to content

Commit

Permalink
Remove satisfy_shellcheck(), no longer required
Browse files Browse the repository at this point in the history
Signed-off-by: Richard T Bonhomme <[email protected]>
  • Loading branch information
TinCanTech committed Dec 6, 2023
1 parent 77894df commit 7ae11c8
Showing 1 changed file with 0 additions and 46 deletions.
46 changes: 0 additions & 46 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -5392,52 +5392,6 @@ before they can be revoked."

} # => status()

# set_var is not known by shellcheck, therefore:
# Fake declare known variables for shellcheck
# Use these options without this function:
# -o all -e 2250,2244,2248 easyrsa
# shellcheck disable=2317 # Unreachable code ..
satisfy_shellcheck() {
die "Security feature enabled!"
# Add more as/if required

# Enable the heredoc for a peek
#cat << SC2154
EASYRSA=
EASYRSA_OPENSSL=
EASYRSA_PKI=
EASYRSA_DN=
EASYRSA_REQ_COUNTRY=
EASYRSA_REQ_PROVINCE=
EASYRSA_REQ_CITY=
EASYRSA_REQ_ORG=
EASYRSA_REQ_EMAIL=
EASYRSA_REQ_OU=
EASYRSA_ALGO=
EASYRSA_KEY_SIZE=
EASYRSA_CURVE=
EASYRSA_CA_EXPIRE=
EASYRSA_CERT_EXPIRE=
EASYRSA_PRE_EXPIRY_WINDOW=
EASYRSA_CRL_DAYS=
EASYRSA_NS_SUPPORT=
EASYRSA_NS_COMMENT=
EASYRSA_TEMP_DIR=
EASYRSA_REQ_CN=
EASYRSA_DIGEST=

EASYRSA_SSL_CONF=
EASYRSA_SAFE_CONF=
OPENSSL_CONF=

#EASYRSA_KDC_REALM=

EASYRSA_RAND_SN=
KSH_VERSION=
#SC2154

} # => satisfy_shellcheck()

# Identify host OS
detect_host() {
unset -v \
Expand Down

0 comments on commit 7ae11c8

Please sign in to comment.