[crypto] Parse OCSP responder URI from X.509 certificate

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2012-04-30 01:49:01 +01:00
parent f91995f193
commit 601cb3610f
4 changed files with 194 additions and 11 deletions

View File

@@ -1347,7 +1347,7 @@ static int tls_new_certificate ( struct tls_session *tls,
struct pubkey_algorithm *pubkey = cipherspec->suite->pubkey;
struct tls_certificate_context context;
struct x509_certificate cert;
struct x509_name *name = &cert.subject.name;
struct x509_string *name = &cert.subject.name;
struct x509_public_key *key = &cert.subject.public_key;
time_t now;
int rc;