- Timestamp:
- Jun 25, 2014, 8:32:15 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_checksum.c
r445 r450 475 475 476 476 /* Clean up state data: */ 477 memset(context, 0, sizeof( context));477 memset(context, 0, sizeof(SHA256_CTX)); 478 478 usedspace = 0; 479 479 } … … 490 490 sh_util_base64_enc ((unsigned char *)buffer, digest, SHA256_DIGEST_LENGTH); 491 491 } else { 492 memset(context, 0, sizeof( context));492 memset(context, 0, sizeof(SHA256_CTX)); 493 493 } 494 494 memset(digest, 0, SHA256_DIGEST_LENGTH);
Note:
See TracChangeset
for help on using the changeset viewer.