Ticket #1 (closed bug: fixed)

Opened 3 years ago

Last modified 2 years ago

compilation warning in dodo::tools::code::SHA512ProcessMessageBlock

Reported by: niam Owned by: niam
Priority: high Milestone: 0.12.0
Component: Version: trunk
Severity: minor Keywords:
Cc:

Description

During the compilation g++ produces a warning:

src/toolsCode.cc: In static member function 'static void dodo::tools::code::SHA512ProcessMessageBlock(dodo::tools::code::SHAContext*)':

src/toolsCode.cc:2062: warning: right shift count is negative

src/toolsCode.cc:2062: warning: left shift count >= width of type

src/toolsCode.cc:2062: warning: right shift count is negative

src/toolsCode.cc:2062: warning: left shift count >= width of type

SHA512 routines still work as expected

Change History

comment:1 Changed 3 years ago by hg

SHA1/SHA256/SHA512 use 64bit long long; issue #1[fixed]

(changeset: 1227:1b18973918a7)

Note: See TracTickets for help on using tickets.