summaryrefslogtreecommitdiffstats
path: root/src/net/tls.c
diff options
context:
space:
mode:
authorMichael Brown2012-04-30 02:49:01 +0200
committerMichael Brown2012-05-04 16:15:34 +0200
commit601cb3610fff6e295876a3050275ef590da7f7c0 (patch)
tree59efa260b8af5d16b1d55fb96b2bd300c4c73d36 /src/net/tls.c
parent[list] Add list_for_each_entry_continue() and _continue_reverse() (diff)
downloadipxe-601cb3610fff6e295876a3050275ef590da7f7c0.tar.gz
ipxe-601cb3610fff6e295876a3050275ef590da7f7c0.tar.xz
ipxe-601cb3610fff6e295876a3050275ef590da7f7c0.zip
[crypto] Parse OCSP responder URI from X.509 certificate
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/tls.c')
-rw-r--r--src/net/tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tls.c b/src/net/tls.c
index 0f11fbe2..3d46a2c7 100644
--- a/src/net/tls.c
+++ b/src/net/tls.c
@@ -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;