Changeset 4537 for pjproject/trunk/pjlib-util/src/pjlib-util/sha1.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/src/pjlib-util/sha1.c
r3549 r4537 210 210 211 211 j = (context->count[0] >> 3) & 63; 212 if ((context->count[0] += len << 3) < (len << 3)) context->count[1]++; 213 context->count[1] += (len >> 29); 212 if ((context->count[0] += (pj_uint32_t)len << 3) < (len << 3)) 213 context->count[1]++; 214 context->count[1] += ((pj_uint32_t)len >> 29); 214 215 if ((j + len) > 63) { 215 216 pj_memcpy(&context->buffer[j], data, (i = 64-j));
Note: See TracChangeset
for help on using the changeset viewer.