diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2016-08-19 12:39:57 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2016-08-19 18:40:55 +0100 |
commit | 568ce3a583a17c33feacbf5028ece9f7f0680478 (patch) | |
tree | f55156e99147d3139ad974b7a9c44925982bf987 /apps/apps.c | |
parent | c4fbed6c3139726fc719a703d2195f3b6426b748 (diff) | |
download | openssl-568ce3a583a17c33feacbf5028ece9f7f0680478.tar.gz |
Constify certificate and CRL time routines.
Update certificate and CRL time routines to match new standard.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'apps/apps.c')
-rw-r--r-- | apps/apps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/apps.c b/apps/apps.c index 1ce632f003..23c65698ff 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -2604,7 +2604,7 @@ int set_cert_times(X509 *x, const char *startdate, const char *enddate, goto err; } - if (!X509_set_notBefore(x, tm)) + if (!X509_set1_notBefore(x, tm)) goto err; if (enddate == NULL) { @@ -2614,7 +2614,7 @@ int set_cert_times(X509 *x, const char *startdate, const char *enddate, goto err; } - if (!X509_set_notAfter(x, tm)) + if (!X509_set1_notAfter(x, tm)) goto err; rv = 1; |