From dbc8994d667f55793aa0ca89944b34e9b027ccad Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 9 Jun 2008 07:07:18 +0000 Subject: rename arc4random_bytes => arc4random_buf to match libc's nicer name; ok deraadt@ --- sys/net/if_spppsubr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index a2886a8f261..73565670bd1 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_spppsubr.c,v 1.69 2008/06/08 15:06:26 claudio Exp $ */ +/* $OpenBSD: if_spppsubr.c,v 1.70 2008/06/09 07:07:16 djm Exp $ */ /* * Synchronous PPP/Cisco link level subroutines. * Keepalive protocol implemented in both Cisco and PPP modes. @@ -4067,7 +4067,7 @@ sppp_chap_scr(struct sppp *sp) u_char clen; /* Compute random challenge. */ - arc4random_bytes(sp->myauth.challenge, sizeof(sp->myauth.challenge)); + arc4random_buf(sp->myauth.challenge, sizeof(sp->myauth.challenge)); clen = AUTHKEYLEN; sp->confid[IDX_CHAP] = ++sp->pp_seq; -- cgit v1.2.3