WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
125345
Define SHA1 hash size in SHA1.h and use it at various places.
https://bugs.webkit.org/show_bug.cgi?id=125345
Summary
Define SHA1 hash size in SHA1.h and use it at various places.
Laszlo Vidacs
Reported
2013-12-06 06:32:05 PST
SHA1 size is used at various places but usually defined as a local variable. A common constant in SHA1.h used by all parties would be a better solution.
Attachments
Patch
(5.69 KB, patch)
2013-12-06 06:45 PST
,
Laszlo Vidacs
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Laszlo Vidacs
Comment 1
2013-12-06 06:45:34 PST
Created
attachment 218593
[details]
Patch
Anders Carlsson
Comment 2
2013-12-06 08:49:21 PST
Comment on
attachment 218593
[details]
Patch I like this change, but could you also make computeHash take an std::array<uint8_t, hashSize>. There's no need for it to take a Vector.
WebKit Commit Bot
Comment 3
2013-12-06 10:51:40 PST
Comment on
attachment 218593
[details]
Patch Clearing flags on attachment: 218593 Committed
r160228
: <
http://trac.webkit.org/changeset/160228
>
WebKit Commit Bot
Comment 4
2013-12-06 10:56:36 PST
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug