Skip to content

Commit 8644525

Browse files
committed
Fix type in PEM+SSH decoder
9b6bf32 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>
1 parent e0d90c5 commit 8644525

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/misc/pem/pem_ssh.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ struct kdf_options {
5353
const char *name;
5454
const struct blockcipher_info *cipher;
5555
unsigned char salt[64];
56-
ulong32 saltlen;
56+
unsigned long saltlen;
5757
ulong32 num_rounds;
5858
struct password pw;
5959
};

0 commit comments

Comments
 (0)