| Index: webrtc/base/openssladapter.cc
|
| diff --git a/webrtc/base/openssladapter.cc b/webrtc/base/openssladapter.cc
|
| index 892b5ccb41441948b5fa189539f93b6234f91d0b..1f5fbbc4d15f56a5d5de3ef9636e12ad8e1358b9 100644
|
| --- a/webrtc/base/openssladapter.cc
|
| +++ b/webrtc/base/openssladapter.cc
|
| @@ -31,6 +31,7 @@
|
| #include "config.h"
|
| #endif // HAVE_CONFIG_H
|
|
|
| +#include "webrtc/base/arraysize.h"
|
| #include "webrtc/base/common.h"
|
| #include "webrtc/base/logging.h"
|
| #include "webrtc/base/openssl.h"
|
| @@ -915,7 +916,7 @@ OpenSSLAdapter::SSLVerifyCallback(int ok, X509_STORE_CTX* store) {
|
| bool OpenSSLAdapter::ConfigureTrustedRootCertificates(SSL_CTX* ctx) {
|
| // Add the root cert that we care about to the SSL context
|
| int count_of_added_certs = 0;
|
| - for (int i = 0; i < ARRAY_SIZE(kSSLCertCertificateList); i++) {
|
| + for (size_t i = 0; i < arraysize(kSSLCertCertificateList); i++) {
|
| const unsigned char* cert_buffer = kSSLCertCertificateList[i];
|
| size_t cert_buffer_len = kSSLCertCertificateSizeList[i];
|
| X509* cert = d2i_X509(NULL, &cert_buffer,
|
|
|