| Index: webrtc/pc/externalhmac.cc
|
| diff --git a/webrtc/pc/externalhmac.cc b/webrtc/pc/externalhmac.cc
|
| index d88cfdc7ec3a3e134102b5f274d04709cec6e3a9..f85e753e7191661dfd3ee734a45fc8cadedcb38b 100644
|
| --- a/webrtc/pc/externalhmac.cc
|
| +++ b/webrtc/pc/externalhmac.cc
|
| @@ -8,24 +8,26 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#if defined(HAVE_SRTP) && defined(ENABLE_EXTERNAL_AUTH)
|
| -
|
| #include "webrtc/pc/externalhmac.h"
|
|
|
| #include <stdlib.h> // For malloc/free.
|
|
|
| +#ifdef HAVE_SRTP
|
| extern "C" {
|
| #ifdef SRTP_RELATIVE_PATH
|
| #include "crypto_kernel.h" // NOLINT
|
| #include "srtp.h" // NOLINT
|
| #else
|
| -#include "third_party/libsrtp/srtp/crypto/include/crypto_kernel.h"
|
| -#include "third_party/libsrtp/srtp/include/srtp.h"
|
| +#include "third_party/libsrtp/crypto/include/crypto_kernel.h"
|
| +#include "third_party/libsrtp/include/srtp.h"
|
| #endif // SRTP_RELATIVE_PATH
|
| }
|
| +#endif // HAVE_SRTP
|
|
|
| #include "webrtc/base/logging.h"
|
|
|
| +#if defined(HAVE_SRTP) && defined(ENABLE_EXTERNAL_AUTH)
|
| +
|
| // Begin test case 0 */
|
| static const uint8_t kExternalHmacTestCase0Key[20] = {
|
| 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b, 0x0b,
|
|
|