From 80899598775cb1bd13e298e050a608339b86f551 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Terelius?= Date: Mon, 22 Jul 2024 11:38:01 +0200 Subject: [PATCH] Remove private SRTP include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: chromium:40272799 Change-Id: I42a63497aa8321475bd3e2604376c1514ecd623e Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/357543 Commit-Queue: Björn Terelius Reviewed-by: Mirko Bonadei Reviewed-by: Florent Castelli Cr-Commit-Position: refs/heads/main@{#42669} --- pc/external_hmac.h | 2 +- tools_webrtc/iwyu/mappings.imp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pc/external_hmac.h b/pc/external_hmac.h index c5071fc192..3319beaed4 100644 --- a/pc/external_hmac.h +++ b/pc/external_hmac.h @@ -30,9 +30,9 @@ #include +#include "third_party/libsrtp/crypto/include/auth.h" #include "third_party/libsrtp/crypto/include/crypto_types.h" #include "third_party/libsrtp/include/srtp.h" -#include "third_party/libsrtp/include/srtp_priv.h" #define EXTERNAL_HMAC_SHA1 SRTP_HMAC_SHA1 + 1 #define HMAC_KEY_LENGTH 20 diff --git a/tools_webrtc/iwyu/mappings.imp b/tools_webrtc/iwyu/mappings.imp index ab2712438d..a8b3ac06d1 100644 --- a/tools_webrtc/iwyu/mappings.imp +++ b/tools_webrtc/iwyu/mappings.imp @@ -20,7 +20,6 @@ # LIBSRTP overrides { include: ['"rdbx.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] }, -{ include: ['"auth.h"', "private", '"third_party/libsrtp/include/srtp_priv.h"', "public"] }, # pthread internals { include: ['', "private", '', "public"] },