Fix type in PEM+SSH decoder

9b6bf32f88 changed the type of the length
argument of a `LTC_SSHDATA_STRING` from `ulong32` to `unsigned long` and
usage of this wrong type survived multiple re-factors and code moves.

This fixes #669

Signed-off-by: Steffen Jaeckel <s@jaeckel.eu>
This commit is contained in:
Steffen Jaeckel 2024-10-03 11:56:48 +02:00
parent 24fc92b857
commit 3df7a96258

View file

@ -53,7 +53,7 @@ struct kdf_options {
const char *name;
const struct blockcipher_info *cipher;
unsigned char salt[64];
ulong32 saltlen;
unsigned long saltlen;
ulong32 num_rounds;
struct password pw;
};