Simplify 'case' for revocation reasons list
Effects: revoke and revoke-renewed Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
parent
8df0346f39
commit
0e2cf100a8
@ -1416,14 +1416,13 @@ Run easyrsa without commands for usage and command help."
|
||||
shift
|
||||
|
||||
case "$crl_reason" in
|
||||
unspecified | \
|
||||
keyCompromise |\
|
||||
CACompromise | \
|
||||
affiliationChanged | \
|
||||
superseded | \
|
||||
cessationOfOperation | \
|
||||
certificateHold ) : # ok
|
||||
;;
|
||||
unspecified) : ;;
|
||||
keyCompromise) : ;;
|
||||
CACompromise) : ;;
|
||||
affiliationChanged) : ;;
|
||||
superseded) : ;;
|
||||
cessationOfOperation) : ;;
|
||||
certificateHold) : ;;
|
||||
*) die "Illegal reason: $crl_reason"
|
||||
esac
|
||||
else
|
||||
@ -1811,14 +1810,13 @@ Run easyrsa without commands for usage and command help."
|
||||
shift
|
||||
|
||||
case "$crl_reason" in
|
||||
unspecified | \
|
||||
keyCompromise |\
|
||||
CACompromise | \
|
||||
affiliationChanged | \
|
||||
superseded | \
|
||||
cessationOfOperation | \
|
||||
certificateHold ) : # ok
|
||||
;;
|
||||
unspecified) : ;;
|
||||
keyCompromise) : ;;
|
||||
CACompromise) : ;;
|
||||
affiliationChanged) : ;;
|
||||
superseded) : ;;
|
||||
cessationOfOperation) : ;;
|
||||
certificateHold) : ;;
|
||||
*) die "Illegal reason: $crl_reason"
|
||||
esac
|
||||
else
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user