From 922a2aee991a45369a0894a5575cec6159b9ba30 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 31 Oct 2019 13:48:08 +0100 Subject: [PATCH] include: Fix integer type of dh_pn and dh_pmax Fixes T188 Signed-off-by: Andreas Schneider Reviewed-by: Jakub Jelen --- include/libssh/crypto.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h index 034b4f2e..8b0ae0ca 100644 --- a/include/libssh/crypto.h +++ b/include/libssh/crypto.h @@ -105,7 +105,7 @@ struct ssh_crypto_struct { bignum shared_secret; struct dh_ctx *dh_ctx; #ifdef WITH_GEX - size_t dh_pmin; int dh_pn; int dh_pmax; /* preferred group parameters */ + size_t dh_pmin; size_t dh_pn; size_t dh_pmax; /* preferred group parameters */ #endif /* WITH_GEX */ #ifdef HAVE_ECDH #ifdef HAVE_OPENSSL_ECC