Merge branch 'fix-offset-adjustment' of ssh://github.com/TinCanTech/easy-rsa into TinCanTech-fix-offset-adjustment

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
This commit is contained in:
Richard T Bonhomme 2023-01-13 17:46:47 +00:00
commit 8845462b54
No known key found for this signature in database
GPG Key ID: 2D767DB92FB6C246

View File

@ -3599,6 +3599,9 @@ fixed_cert_dates() {
die "Fixed off-set range [1-365 days]: $start_fix_day_n"
fi
# Final offset is off-by-one, adjust now
start_fix_day_n="$(( start_fix_day_n - 1 ))"
# Set the end fixed day-number of the Year
end_fix_day_n="$(( start_fix_day_n + EASYRSA_CERT_EXPIRE ))"