-.\" $OpenBSD: X509_cmp_time.3,v 1.10 2021/11/08 14:44:14 schwarze Exp $
+.\" $OpenBSD: X509_cmp_time.3,v 1.11 2021/11/12 14:34:57 schwarze Exp $
.\" full merge up to: OpenSSL 83cf7abf May 29 13:07:08 2018 +0100
.\"
.\" This file is a derived work.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
.\" OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: November 8 2021 $
+.Dd $Mdocdate: November 12 2021 $
.Dt X509_CMP_TIME 3
.Os
.Sh NAME
with
.Xr ASN1_time_parse 3
and compares it to
-.Fa cmp_time .
+.Fa cmp_time ,
+or to the current time if
+.Fa cmp_time
+is
+.Dv NULL .
.Fn X509_cmp_current_time
compares it to the current time.
.Pp