Bug 3160

Summary: Compilation fails when DEBUG_KEXDH is defined
Product: Portable OpenSSH Reporter: mscdex
Component: sshdAssignee: Damien Miller <djm>
Status: CLOSED FIXED    
Severity: normal CC: djm, dtucker
Priority: P5    
Version: 8.2p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 3162    
Attachments:
Description Flags
fix compilation with DEBUG_KEXDH none

Description mscdex 2020-05-06 06:55:16 AEST
It seems sshd.c is referencing old packet handling functions when DEBUG_KEXDH is defined, specifically: packet_start(), packet_put_cstring(), packet_send(), and packet_write_wait(). It appears it's been this way since OpenSSH 6.8 or so.
Comment 1 Damien Miller 2020-05-08 13:24:15 AEST
Created attachment 3391 [details]
fix compilation with DEBUG_KEXDH
Comment 2 Damien Miller 2020-05-08 15:13:31 AEST
This has been fixed and will be in openssh-8.4
Comment 3 Damien Miller 2021-03-04 09:52:52 AEDT
close bugs that were resolved in OpenSSH 8.5 release cycle