projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be9182
)
Next update time may be NULL
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 30 Jul 2012 22:49:23 +0000
(15:49 -0700)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 30 Jul 2012 22:49:23 +0000
(15:49 -0700)
src/main/tls.c
patch
|
blob
|
history
diff --git
a/src/main/tls.c
b/src/main/tls.c
index
aad1e9a
..
beb4821
100644
(file)
--- a/
src/main/tls.c
+++ b/
src/main/tls.c
@@
-1193,9
+1193,11
@@
static int ocsp_check(X509_STORE *store, X509 *issuer_cert, X509 *client_cert,
BIO_puts(bio_out, "\tThis Update: ");
ASN1_GENERALIZEDTIME_print(bio_out, thisupd);
BIO_puts(bio_out, "\n");
- BIO_puts(bio_out, "\tNext Update: ");
- ASN1_GENERALIZEDTIME_print(bio_out, nextupd);
- BIO_puts(bio_out, "\n");
+ if (nextupd) {
+ BIO_puts(bio_out, "\tNext Update: ");
+ ASN1_GENERALIZEDTIME_print(bio_out, nextupd);
+ BIO_puts(bio_out, "\n");
+ }
switch (status) {
case V_OCSP_CERTSTATUS_GOOD: