Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show expire allow zero days #1254

Merged
merged 5 commits into from
Nov 11, 2024

Conversation

TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented Nov 10, 2024

Allow --days to be zero for command show-expire only.

easyrsa: Allow --days to be zero for command 'show-expire' only.

easyrsa-tools.lib: expire_status_v2(), will_cert_be_valid();
rewrite these functions to avoid the need to redirect output
and allow zero days as input.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech self-assigned this Nov 10, 2024
@TinCanTech TinCanTech added this to the v3.2.2 milestone Nov 10, 2024
@TinCanTech TinCanTech linked an issue Nov 10, 2024 that may be closed by this pull request
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech force-pushed the show-expire-allow-zero-days branch from a75d351 to acbe21c Compare November 11, 2024 22:18
@TinCanTech TinCanTech merged commit c8bf018 into OpenVPN:master Nov 11, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--days=0 show-expire errors
1 participant