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

Unified Diff: webrtc/pc/externalhmac.h

Issue 2729373002: Remove HAVE_SRTP define and unmaintained code. (Closed)
Patch Set: 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/BUILD.gn ('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 c0f2ce1ff6fe37e8b3d6ea2f984428e211c7bfcc..4a6e817affc6c75c7998e62667a62f9b6596c629 100644
--- a/webrtc/pc/externalhmac.h
+++ b/webrtc/pc/externalhmac.h
@@ -30,11 +30,7 @@
#include <stdint.h>
-#ifdef HAVE_SRTP
#include "third_party/libsrtp/crypto/include/auth.h"
-#endif // HAVE_SRTP
-
-#if defined(HAVE_SRTP)
#define EXTERNAL_HMAC_SHA1 SRTP_HMAC_SHA1 + 1
#define HMAC_KEY_LENGTH 20
@@ -71,5 +67,4 @@ srtp_err_status_t external_hmac_compute(ExternalHmacContext* state,
srtp_err_status_t external_crypto_init();
-#endif // defined(HAVE_SRTP)
#endif // WEBRTC_PC_EXTERNALHMAC_H_
« no previous file with comments | « webrtc/pc/BUILD.gn ('k') | webrtc/pc/externalhmac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698