Bug 3294 - Build warning in mm_answer_keyallowed()
Summary: Build warning in mm_answer_keyallowed()
Status: CLOSED DUPLICATE of bug 3269
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 8.5p1
Hardware: Other Windows 10
: P5 minor
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 03:29 AEST by balu
Modified: 2021-04-23 15:08 AEST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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