| Index: webrtc/base/sslstreamadapter.h
|
| diff --git a/webrtc/base/sslstreamadapter.h b/webrtc/base/sslstreamadapter.h
|
| index ba60ce3da09b32ce28b832597784cdaa78e0866a..968c21c5f7aa33823790a6b820a28a348a107efc 100644
|
| --- a/webrtc/base/sslstreamadapter.h
|
| +++ b/webrtc/base/sslstreamadapter.h
|
| @@ -191,6 +191,12 @@ class SSLStreamAdapter : public StreamAdapterInterface {
|
| virtual bool SetDtlsSrtpCryptoSuites(const std::vector<int>& crypto_suites);
|
| virtual bool GetDtlsSrtpCryptoSuite(int* crypto_suite);
|
|
|
| + // Returns true if a TLS connection has been established.
|
| + // The only difference between this and "GetState() == SE_OPEN" is that if
|
| + // the peer certificate digest hasn't been verified, the state will still be
|
| + // SS_OPENING but IsTlsConnected should return true.
|
| + virtual bool IsTlsConnected() = 0;
|
| +
|
| // Capabilities testing
|
| static bool HaveDtls();
|
| static bool HaveDtlsSrtp();
|
|
|