projects
/
cumulus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Replace boost::scoped_ptr with std::unique_ptr.
[cumulus.git]
/
third_party
/
sha1.cc
diff --git
a/third_party/sha1.cc
b/third_party/sha1.cc
index
9e9e74b
..
a7390b3
100644
(file)
--- a/
third_party/sha1.cc
+++ b/
third_party/sha1.cc
@@
-154,7
+154,7
@@
sha1_process_bytes (const void *buffer, size_t len, struct sha1_ctx *ctx)
{
#if !_STRING_ARCH_unaligned
# define alignof(type) offsetof (struct { char c; type x; }, x)
-# define UNALIGNED_P(p) (
((size_t) p) % alignof (md5_uint32) != 0
)
+# define UNALIGNED_P(p) (
1
)
if (UNALIGNED_P (buffer))
while (len > 64)
{