-/* $OpenBSD: chap.c,v 1.12 2015/01/19 01:48:59 deraadt Exp $ */
+/* $OpenBSD: chap.c,v 1.13 2015/06/24 04:45:20 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
* </ul></p>
*/
/* RFC 1994, 2433 */
-/* $Id: chap.c,v 1.12 2015/01/19 01:48:59 deraadt Exp $ */
+/* $Id: chap.c,v 1.13 2015/06/24 04:45:20 yasuoka Exp $ */
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/time.h>
if (code == RADIUS_CODE_ACCESS_REJECT) {
reason="reject";
errorCode = ERROR_AUTHENTICATION_FAILURE;
- /* Windows peer will reset the passowrd by this error code */
+ /* Windows peer will reset the password by this error code */
goto auth_failed;
} else if (code != RADIUS_CODE_ACCESS_ACCEPT) {
reason="error";
-/* $OpenBSD: lcp.c,v 1.10 2015/01/19 01:48:59 deraadt Exp $ */
+/* $OpenBSD: lcp.c,v 1.11 2015/06/24 04:45:20 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* $Id: lcp.c,v 1.10 2015/01/19 01:48:59 deraadt Exp $ */
+/* $Id: lcp.c,v 1.11 2015/06/24 04:45:20 yasuoka Exp $ */
/**@file
* This file provides LCP related functions.
*<pre>
if (_this->dialin_proxy_lcp_renegotiation == 0) {
_this->fsm.ppp->peer_auth = dpi->auth_type;
/*
- * It changes status which all options are rejected, and
- * accepts agreed options in lcp_proxy_send_ci.
+ * Set the rejected flag to all options here for the moment,
+ * the agreeed options will be handled in lcp_proxy_sent_ci().
*/
psm_opt_set_rejected(_this, mru, 1);
psm_opt_set_rejected(_this, pfc, 1);