| Index: webrtc/base/opensslstreamadapter.cc
|
| diff --git a/webrtc/base/opensslstreamadapter.cc b/webrtc/base/opensslstreamadapter.cc
|
| index 16dd9803b4057ab5fbeb1aed4cc451b606d75969..b09c2a581e5d47fd06864fbc9381113368e52609 100644
|
| --- a/webrtc/base/opensslstreamadapter.cc
|
| +++ b/webrtc/base/opensslstreamadapter.cc
|
| @@ -18,6 +18,9 @@
|
| #include <openssl/rand.h>
|
| #include <openssl/tls1.h>
|
| #include <openssl/x509v3.h>
|
| +#ifndef OPENSSL_IS_BORINGSSL
|
| +#include <openssl/dtls1.h>
|
| +#endif
|
|
|
| #include <vector>
|
|
|
| @@ -1138,7 +1141,9 @@ static const cipher_list OK_RSA_ciphers[] = {
|
| #ifdef TLS1_CK_ECDHE_RSA_WITH_AES_256_GCM_SHA256
|
| CDEF(ECDHE_RSA_WITH_AES_256_GCM_SHA256),
|
| #endif
|
| +#ifdef TLS1_CK_ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256
|
| CDEF(ECDHE_RSA_WITH_CHACHA20_POLY1305_SHA256),
|
| +#endif
|
| };
|
|
|
| static const cipher_list OK_ECDSA_ciphers[] = {
|
| @@ -1148,7 +1153,9 @@ static const cipher_list OK_ECDSA_ciphers[] = {
|
| #ifdef TLS1_CK_ECDHE_ECDSA_WITH_AES_256_GCM_SHA256
|
| CDEF(ECDHE_ECDSA_WITH_AES_256_GCM_SHA256),
|
| #endif
|
| +#ifdef TLS1_CK_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256
|
| CDEF(ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256),
|
| +#endif
|
| };
|
| #undef CDEF
|
|
|
|
|