aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2019-10-31 13:48:08 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-09 16:08:03 +0100
commit922a2aee991a45369a0894a5575cec6159b9ba30 (patch)
tree2f501a88f7d210816d61a77e8411f48e173e4009 /include
parent500481e101de59b4ad2898b5fe5feb1283538f14 (diff)
downloadlibssh-922a2aee991a45369a0894a5575cec6159b9ba30.tar.gz
libssh-922a2aee991a45369a0894a5575cec6159b9ba30.tar.xz
libssh-922a2aee991a45369a0894a5575cec6159b9ba30.zip
include: Fix integer type of dh_pn and dh_pmax
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 1 insertions, 1 deletions
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