diff options
author | Michael Brown <mcb30@ipxe.org> | 2012-05-14 18:22:38 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2012-05-15 13:24:23 +0100 |
commit | 39ac285a8abced92b03842a8ce48957550d454ad (patch) | |
tree | a74d4c2232a99806b91ebbefd4f840b958c9e94b /src/crypto/x509.c | |
parent | deac4ea1baa62ab554b57179e481c1b255716bb1 (diff) | |
download | ipxe-39ac285a8abced92b03842a8ce48957550d454ad.tar.gz |
[crypto] Add framework for OCSP
Add support for constructing OCSP queries and parsing OCSP responses.
(There is no support yet for actually issuing an OCSP query via an
HTTP POST.)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/crypto/x509.c')
-rw-r--r-- | src/crypto/x509.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/x509.c b/src/crypto/x509.c index a8660934..18a8cebe 100644 --- a/src/crypto/x509.c +++ b/src/crypto/x509.c @@ -1290,9 +1290,9 @@ int x509_check_time ( struct x509_certificate *cert, time_t time ) { * successfully validated then @c issuer, @c time, and @c root will be * ignored. */ -static int x509_validate ( struct x509_certificate *cert, - struct x509_certificate *issuer, - time_t time, struct x509_root *root ) { +int x509_validate ( struct x509_certificate *cert, + struct x509_certificate *issuer, + time_t time, struct x509_root *root ) { unsigned int max_path_remaining; int rc; |