Skip to content

Commit e9ff57d

Browse files
committed
fix varargs error
When compiling with "-g -O0" valgrind complained about "Conditional jump or move depends on uninitialised value(s)", c.f. e.g. [1] [1] https://travis-ci.org/libtom/libtomcrypt/jobs/588690930
1 parent 9423f3b commit e9ff57d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/misc/bcrypt/bcrypt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ int bcrypt_pbkdf_openbsd(const char *password, unsigned long password_l
144144
x = MAXBLOCKSIZE;
145145
if ((err = hash_memory_multi(hash_idx, buf[0], &x,
146146
salt, salt_len,
147-
blkbuf, 4,
147+
blkbuf, 4uL,
148148
NULL, 0)) != CRYPT_OK) {
149149
goto LBL_ERR;
150150
}

0 commit comments

Comments
 (0)