summaryrefslogtreecommitdiffstats
path: root/src/crypto/x509.c
diff options
context:
space:
mode:
authorMichael Brown2012-05-14 19:22:38 +0200
committerMichael Brown2012-05-15 14:24:23 +0200
commit39ac285a8abced92b03842a8ce48957550d454ad (patch)
treea74d4c2232a99806b91ebbefd4f840b958c9e94b /src/crypto/x509.c
parent[crypto] Add functions for constructing ASN.1 objects (diff)
downloadipxe-39ac285a8abced92b03842a8ce48957550d454ad.tar.gz
ipxe-39ac285a8abced92b03842a8ce48957550d454ad.tar.xz
ipxe-39ac285a8abced92b03842a8ce48957550d454ad.zip
[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.c6
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;