Avoid duplicated code.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 19 Aug 2016 15:12:31 +0000 (16:12 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 19 Aug 2016 15:52:58 +0000 (16:52 +0100)
commit3a60d6fa2f8a908d972f8787dc137acb7b8b26e3
tree205b7c7cd105bebd7c6f90d8af192ff47d0182a9
parent2a9afa4046592d44af84644cd89fe1a0d6d46889
Avoid duplicated code.

The certificate and CRL time setting functions used similar code,
combine into a single utility function.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/include/internal/x509_int.h
crypto/x509/x509_set.c
crypto/x509/x509cset.c