Index: webrtc/base/sha1digest.h |
diff --git a/webrtc/base/sha1digest.h b/webrtc/base/sha1digest.h |
index d321cb8a12c865179105e49e7e2f86a6738e7191..e3b4ef840bd6c5fd05446e8d662f818135f30aa8 100644 |
--- a/webrtc/base/sha1digest.h |
+++ b/webrtc/base/sha1digest.h |
@@ -11,26 +11,9 @@ |
#ifndef WEBRTC_BASE_SHA1DIGEST_H_ |
#define WEBRTC_BASE_SHA1DIGEST_H_ |
-#include "webrtc/base/messagedigest.h" |
-#include "webrtc/base/sha1.h" |
-namespace rtc { |
- |
-// A simple wrapper for our SHA-1 implementation. |
-class Sha1Digest : public MessageDigest { |
- public: |
- enum { kSize = SHA1_DIGEST_SIZE }; |
- Sha1Digest() { |
- SHA1Init(&ctx_); |
- } |
- size_t Size() const override; |
- void Update(const void* buf, size_t len) override; |
- size_t Finish(void* buf, size_t len) override; |
- |
- private: |
- SHA1_CTX ctx_; |
-}; |
- |
-} // namespace rtc |
+// This header is deprecated and is just left here temporarily during |
+// refactoring. See https://bugs.webrtc.org/7634 for more details. |
+#include "webrtc/rtc_base/sha1digest.h" |
#endif // WEBRTC_BASE_SHA1DIGEST_H_ |