ssh: fix dropped error
This fixes an error variable that was being dropped
prior to the return of dhGroup.Server().
Run-TryBot: Emmanuel Odeke
TryBot-Result: Gobot Gobot
@@ -212,7 +212,7 @@ func (group *dhGroup) Server(c packetConn, randSource io.Reader, magics *handsha
HostKey: hostKeyBytes,
Signature: sig,
Hash: crypto.SHA1,
- }, nil
+ }, err
}
// ecdh performs Elliptic Curve Diffie-Hellman key exchange as
