Coverity: fix 1506298: negative returns
authorPauli <pauli@openssl.org>
Fri, 17 Jun 2022 01:02:36 +0000 (11:02 +1000)
committerPauli <pauli@openssl.org>
Fri, 1 Jul 2022 06:36:21 +0000 (16:36 +1000)
commitbe54ad88a67d2fba3b4fd51bef0fe7db0c01b99a
treec750e53a2da06a4cefccb88d05878bcbc1eadead
parentf80cdee7c1eee93d13c7dcbeda32dfca3e1e4059
Coverity: fix 1506298: negative returns

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18587)
crypto/dh/dh_ameth.c