Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/api/api_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -1595,7 +1595,7 @@ lwip_netconn_do_send(void *m)
#endif /* LWIP_UDP */
#if LWIP_NETPACKET
case NETCONN_NETPACKET_RAW:
if (msg->msg.b->netpacket_hwaddr != NULL && msg->msg.b->netpacket_hwaddr_len != 0) {
if (msg->msg.b->netpacket_hwaddr_len != 0) {
err = LWIP_HOOK_NETPACKET_SENDTO(msg->conn->pcb.netpacket, msg->msg.b->p,
msg->msg.b->netpacket_hwaddr, msg->msg.b->netpacket_hwaddr_len);
} else {
Expand Down
4 changes: 2 additions & 2 deletions src/netif/ppp/chap_ms.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ extern void set_mppe_enc_types(int, int);

static void ascii2unicode (const char[], int, u_char[]);
static void NTPasswordHash (u_char *, int, u_char[MD4_SIGNATURE_SIZE]);
static void ChallengeResponse (const u_char *, const u_char *, u_char[24]);
static void ChallengeResponse (const u_char *, const u_char[MD4_SIGNATURE_SIZE], u_char[24]);
static void ChallengeHash (const u_char[16], const u_char *, const char *, u_char[8]);
static void ChapMS_NT (const u_char *, const char *, int, u_char[24]);
static void ChapMS2_NT (const u_char *, const u_char[16], const char *, const char *, int,
Expand Down Expand Up @@ -872,7 +872,7 @@ static void ChapMS(ppp_pcb *pcb, const u_char *rchallenge, const char *secret, i
*/
static void ChapMS2(ppp_pcb *pcb, const u_char *rchallenge, const u_char *PeerChallenge,
const char *user, const char *secret, int secret_len, unsigned char *response,
u_char authResponse[], int authenticator) {
u_char authResponse[MS_AUTH_RESPONSE_LENGTH+1], int authenticator) {
/* ARGSUSED */
LWIP_UNUSED_ARG(authenticator);
#if !MPPE_SUPPORT
Expand Down