diff --git a/apps/ocsp.c b/apps/ocsp.c index 293b46cdb382f9ad5aa6464e87097232988d3f23..723e0dc9ab9554d381f22771aabd0107cd96b5c2 100644 --- a/apps/ocsp.c +++ b/apps/ocsp.c @@ -686,7 +686,7 @@ static int print_ocsp_summary(BIO *out, OCSP_BASICRESP *bs, OCSP_REQUEST *req, if(nextupd) { BIO_puts(out, "\tNext Update: "); - ASN1_GENERALIZEDTIME_print(out, thisupd); + ASN1_GENERALIZEDTIME_print(out, nextupd); BIO_puts(out, "\n"); }