diff options
author | David Benjamin <davidben@chromium.org> | 2014-08-28 00:42:38 +0400 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2014-08-29 04:39:33 +0400 |
commit | 6c7aed048ca0a335e02dfee10976c5dc8620783e (patch) | |
tree | afdad4ea0491a082ff6a3bc4f2acb934af88124e /ssl/d1_clnt.c | |
parent | e098ec2460c12e7061f3584086d75dd72eb4c5c9 (diff) |
Client-side OCSP stapling support.
Remove the old implementation which was excessively general. This mirrors the
SCT support and adds a single boolean flag to request an OCSP response with no
responder IDs, extensions, or frills. The response, if received, is stored on
the SSL_SESSION so that it is available for (re)validation on session
resumption; Chromium revalidates the saved auth parameters on resume.
Server support is unimplemented for now. This API will also need to be adjusted
in the future if we implement RFC 6961.
Change-Id: I533c029b7f7ea622d814d05f934fdace2da85cb1
Reviewed-on: https://boringssl-review.googlesource.com/1671
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r-- | ssl/d1_clnt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c index 4fcf0c34..b781d887 100644 --- a/ssl/d1_clnt.c +++ b/ssl/d1_clnt.c @@ -309,7 +309,7 @@ int dtls1_connect(SSL *s) { ret=ssl3_get_server_certificate(s); if (ret <= 0) goto end; - if (s->tlsext_status_expected) + if (s->s3->tmp.certificate_status_expected) s->state=SSL3_ST_CR_CERT_STATUS_A; else s->state=SSL3_ST_CR_KEY_EXCH_A; |