diff --git a/crypto/dh.c b/crypto/dh.c index e151f12775ca22d54990b6d1ec1512fb35db5e33..b1032a5c1bfa1a310653708d0517b5a73f14b868 100644 --- a/crypto/dh.c +++ b/crypto/dh.c @@ -147,7 +147,7 @@ static int dh_compute_value(struct kpp_request *req) 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);