Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: webrtc/pc/externalhmac.h

Issue 2722423003: Improve testing of SRTP external auth code paths. (Closed)
Patch Set: Changes based on feedback from Taylor. Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/pc/channel.cc ('k') | webrtc/pc/externalhmac.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/pc/externalhmac.h
diff --git a/webrtc/pc/externalhmac.h b/webrtc/pc/externalhmac.h
index 2666d90cb8ee718063ed561e26edbd14e8fad11c..c0f2ce1ff6fe37e8b3d6ea2f984428e211c7bfcc 100644
--- a/webrtc/pc/externalhmac.h
+++ b/webrtc/pc/externalhmac.h
@@ -34,7 +34,7 @@
#include "third_party/libsrtp/crypto/include/auth.h"
#endif // HAVE_SRTP
-#if defined(HAVE_SRTP) && defined(ENABLE_EXTERNAL_AUTH)
+#if defined(HAVE_SRTP)
#define EXTERNAL_HMAC_SHA1 SRTP_HMAC_SHA1 + 1
#define HMAC_KEY_LENGTH 20
@@ -71,5 +71,5 @@ srtp_err_status_t external_hmac_compute(ExternalHmacContext* state,
srtp_err_status_t external_crypto_init();
-#endif // defined(HAVE_SRTP) && defined(ENABLE_EXTERNAL_AUTH)
+#endif // defined(HAVE_SRTP)
#endif // WEBRTC_PC_EXTERNALHMAC_H_
« no previous file with comments | « webrtc/pc/channel.cc ('k') | webrtc/pc/externalhmac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698