projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ebfcc8
)
Assing check_{cert,crl}_time to 'ok' variable so it returns errors on
author
Dr. Stephen Henson
<steve@openssl.org>
Fri, 27 May 2005 13:19:25 +0000
(13:19 +0000)
committer
Dr. Stephen Henson
<steve@openssl.org>
Fri, 27 May 2005 13:19:25 +0000
(13:19 +0000)
expiry.
crypto/x509/x509_vfy.c
patch
|
blob
|
history
diff --git
a/crypto/x509/x509_vfy.c
b/crypto/x509/x509_vfy.c
index 637e2b6142c57ffbd52cda0eca8bb86be19cbbdb..57113672328165652e4cb6ffb1b2dbdb8c38d95f 100644
(file)
--- a/
crypto/x509/x509_vfy.c
+++ b/
crypto/x509/x509_vfy.c
@@
-776,7
+776,8
@@
static int check_crl(X509_STORE_CTX *ctx, X509_CRL *crl)
}
}
- if (!check_crl_time(ctx, crl, 1))
+ ok = check_crl_time(ctx, crl, 1);
+ if (!ok)
goto err;
ok = 1;
@@
-1006,7
+1007,8
@@
static int internal_verify(X509_STORE_CTX *ctx)
xs->valid = 1;
- if (!check_cert_time(ctx, xs))
+ ok = check_cert_time(ctx, xs);
+ if (!ok)
goto end;
/* The last error (if any) is still in the error value */