summaryrefslogtreecommitdiff
path: root/cipher/md5.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2016-03-18 15:38:26 +0100
committerWerner Koch <wk@gnupg.org>2016-03-18 15:38:26 +0100
commitc478cf175887c84dc071c4f73a7667603b354789 (patch)
tree27df38ca098f1ee6fb542fb95ebfa9ab6163b842 /cipher/md5.c
parent0f741b0704bac5c0e2d2a0c2b34b44b35baa76d6 (diff)
downloadlibgcrypt-c478cf175887c84dc071c4f73a7667603b354789.tar.gz
kdf: Make PBKDF2 check work on all platforms.
* cipher/kdf.c (_gcry_kdf_pkdf2): Chnage DKLEN to unsigned long. -- The previous pacth has no effect because on almost all platformans an unsigned int is 32 bit and thus the 0xffffffff is anyway the largest value. This patch changes the variable to an unsigned long so that at least on common 64 bit Unix systems (but not on 64 bit Windows) there is an actual check. Signed-off-by: Werner Koch <wk@gnupg.org>
Diffstat (limited to 'cipher/md5.c')
0 files changed, 0 insertions, 0 deletions