3974. [bug] handle DH_compute_key() failure correctly in
openssldh_link.c. [RT #37477]
(cherry picked from commit 58a1051e92)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
3974. [bug] handle DH_compute_key() failure correctly in
|
||||
openssldh_link.c. [RT #37477]
|
||||
|
||||
3972. [bug] Fix host's usage statement. [RT #37397]
|
||||
|
||||
3971. [bug] Reduce the cascasding failures due to a bad $TTL line
|
||||
|
||||
@@ -93,7 +93,7 @@ openssldh_computesecret(const dst_key_t *pub, const dst_key_t *priv,
|
||||
if (r.length < len)
|
||||
return (ISC_R_NOSPACE);
|
||||
ret = DH_compute_key(r.base, dhpub->pub_key, dhpriv);
|
||||
if (ret == 0)
|
||||
if (ret <= 0)
|
||||
return (dst__openssl_toresult2("DH_compute_key",
|
||||
DST_R_COMPUTESECRETFAILURE));
|
||||
isc_buffer_add(secret, len);
|
||||
|
||||
Reference in New Issue
Block a user