macOS already handles the missing space before M=, extract from : https://opensource.apple.com/source/ppp/ppp-862.120.2/Helpers/pppd/chap_ms.c.auto.html
//we'll allow the missing-space case from the server, even though //it's non-conforming to spec! dbglog("Rcvd non-conforming MSCHAPv2 Success packet, len=%d", len); if(len >= 2 && !strncmp((char*)msg, "M=", 2)) msg += 2; else { error("MS-CHAPv2 Success packet is badly formed."); return 0; } -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1890814 Title: Handle PPP non-compliant success packets To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ppp/+bug/1890814/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs