Skip to content

Commit

Permalink
cert-enroll: Fixed typo
Browse files Browse the repository at this point in the history
This typo prevented the cert-enroll script from successfully
signalling a detected change of the sub CA certificate.
  • Loading branch information
strongX509 committed Sep 7, 2024
1 parent 55a660d commit 957aae8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cert-enroll/cert-enroll.in
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ function check_ca_certs()
fi

SUBCA_CHANGED=0
cmp -s $SUBCA new/$SUBCA || SUBCA_CHANGE=$?
cmp -s $SUBCA new/$SUBCA || SUBCA_CHANGED=$?
if [ $SUBCA_CHANGED -ne 0 ]
then
echo "Warning: '$SUBCA' has changed"
Expand Down

0 comments on commit 957aae8

Please sign in to comment.