Bug 3294

Summary: Build warning in mm_answer_keyallowed()
Product: Portable OpenSSH Reporter: balu <balu.gajjala>
Component: Build systemAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED DUPLICATE    
Severity: minor CC: balu.gajjala, dtucker
Priority: P5    
Version: 8.5p1   
Hardware: Other   
OS: Windows 10   

Description balu 2021-04-09 03:29:20 AEST
Warning	C4133	'function': incompatible types - from 'mm_keytype *' to 'u_int32_t *

Code change,
   From
        if ((r = sshbuf_get_u32(m, &type)) != 0 ||
   To
        if ((r = sshbuf_get_u32(m, &(u_int32_t)type)) != 0 ||
Comment 1 Darren Tucker 2021-04-09 14:12:03 AEST
This was fixed in https://github.com/openssh/openssh-portable/commit/160db17fc678ceb5e3fd4a7e006cc73866f484aaafter 8.5.

*** This bug has been marked as a duplicate of bug 3269 ***
Comment 2 Damien Miller 2021-04-23 15:08:43 AEST
closing resolved bugs as of 8.6p1 release