diff --git a/crypto/dh.c b/crypto/dh.c index e151f12775ca..b1032a5c1bfa 100644 --- a/crypto/dh.c +++ b/crypto/dh.c @@ -147,7 +147,7 @@ err_free_val: return ret; } -static int dh_max_size(struct crypto_kpp *tfm) +static unsigned int dh_max_size(struct crypto_kpp *tfm) { struct dh_ctx *ctx = dh_get_ctx(tfm);