Skip to content

Commit

Permalink
sign-req: Correct indentation and remove superfluous case pattern
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 80cb315 commit dc91c8b
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions easyrsa3/easyrsa
Original file line number Diff line number Diff line change
Expand Up @@ -2075,8 +2075,7 @@ expected 2, got $# (see command help for usage)"
preserve*)
export EASYRSA_PRESERVE_DN=1
;;
*)
warn "Ignoring unknown option '$1'"
*) warn "Ignoring unknown option '$1'"
esac
shift
done
Expand Down Expand Up @@ -2209,7 +2208,7 @@ basicConstraints is not defined, cannot use 'pathlen'"

# Deprecated Netscape extension support
case "$EASYRSA_NS_SUPPORT" in
[yY][eE][sS])
[yY][eE][sS])

confirm "Confirm use of Netscape extensions: " yes \
"WARNING: Netscape extensions are DEPRECATED!"
Expand Down Expand Up @@ -2358,9 +2357,6 @@ check_serial_unique() {
case "$1" in
(*[!1234567890abcdef]*)
user_error "Invalid serial number: '$1'"
;;
*)
: # ok
esac

unset -v unique_serial_true
Expand Down

0 comments on commit dc91c8b

Please sign in to comment.