Cleanup: Remove unnecessary SHA1Transform() declaration.
Nobody needs to see or call it before it is implemented down below. BUG=None TEST=rtc_unittests --gtest_filter=Sha1DigestTest.* R=pthatcher@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45039004 Patch from Thiago Farina <tfarina@chromium.org>. Cr-Commit-Position: refs/heads/master@{#8962}
This commit is contained in:
parent
3a93986fd5
commit
9504b89ce2
@ -104,7 +104,7 @@
|
||||
|
||||
namespace rtc {
|
||||
|
||||
void SHA1Transform(uint32 state[5], const uint8 buffer[64]);
|
||||
namespace {
|
||||
|
||||
#define rol(value, bits) (((value) << (bits)) | ((value) >> (32 - (bits))))
|
||||
|
||||
@ -206,6 +206,8 @@ void SHA1Transform(uint32 state[5], const uint8 buffer[64]) {
|
||||
state[4] += e;
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
// SHA1Init - Initialize new context.
|
||||
void SHA1Init(SHA1_CTX* context) {
|
||||
// SHA1 initialization constants.
|
||||
|
Loading…
x
Reference in New Issue
Block a user