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

easyrsa-tools.lib: Rename will_cert_expire() -> is_cert_valid() #1216

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

TinCanTech
Copy link
Collaborator

@TinCanTech TinCanTech commented Aug 19, 2024

OpenSSL option -checkend returns 0:

  • For a certificate which will NOT expire on the due date.

And returns 1:

  • For a certificate which will expire on the due date.

Rename the function which checks this, for more clear readability.

OpenSSL option -checkend returns 0 for a certificate which will
NOT expire by the due date.

And returns 1 for a certificate which will expire by the due date.

Rename the function which checks this, for more clear intent.

Signed-off-by: Richard T Bonhomme <tincantech@protonmail.com>
@TinCanTech TinCanTech merged commit 610c436 into OpenVPN:master Aug 19, 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.

1 participant