Conversation
|
The CI tests pointed out a |
mattcaswell
left a comment
There was a problem hiding this comment.
I'm tentatively approving this, subject to input from others about the naming issue.
|
FWIW, when I saw the function name, I thought it would take an X509 cert, not a VPM. |
|
Ping - needs second review |
paulidale
left a comment
There was a problem hiding this comment.
A suggested wording change which I think improves things but others might not.
Approved either way.
Concerning the function name, right that the One could consider consistently renaming all these functions, including the new one, to something that does not contain |
|
Can this PR be flagged for merging now? |
The conclusive approval was done 16 hours ago. So, with regards to 24h grace period that we have regimented ourselves to, it can in 8 hours. |
80d61fa to
ebd4db6
Compare
ebd4db6 to
2bf6fb7
Compare
|
In the meantime I had to rebase this (fixing a minor merge conflict in Could someone please merge this PR. |
Reviewed-by: Paul Dale <[email protected]> Reviewed-by: Matt Caswell <[email protected]> (Merged from #10502)
|
I squashed the various commits and merged this. Closing. |
This PR adds the function
X509_cmp_timeframe()along with documentation and thorough tests.It also fixes a parameter renaming glitch in the current documentation of
X509_cmp_time().The function can be used for instance as follows:
The motivation for adding this function to
x509_vfy.cis that it is currently defined in a preview of the upcoming CMP contribution chunk 7 while it could be of broader use, as discussed with @mattcaswell here: mpeylo#199 (comment)