Add common TLS extensions
Bug: webrtc:8019 Change-Id: Ic60e892f0acbe394472319c4d943690828446610 Reviewed-on: https://chromium-review.googlesource.com/580261 Commit-Queue: Emad Omara <emadomara@webrtc.org> Reviewed-by: Justin Uberti <juberti@webrtc.org> Cr-Commit-Position: refs/heads/master@{#19106}
This commit is contained in:
parent
3c45186ef2
commit
cb79d23c9b
@ -365,6 +365,11 @@ OpenSSLAdapter::BeginSSL() {
|
||||
SSL_set_tlsext_host_name(ssl_, ssl_host_name_.c_str());
|
||||
}
|
||||
|
||||
// Set a couple common TLS extensions; even though we don't use them yet.
|
||||
// TODO(emadomara) Add ALPN extension.
|
||||
SSL_enable_ocsp_stapling(ssl_);
|
||||
SSL_enable_signed_cert_timestamps(ssl_);
|
||||
|
||||
// the SSL object owns the bio now
|
||||
bio = nullptr;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user