diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2008-06-09 07:07:18 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2008-06-09 07:07:18 +0000 |
commit | dbc8994d667f55793aa0ca89944b34e9b027ccad (patch) | |
tree | 9190acdfd8ec27a88a4b4e9caa9cf6963eb7b419 /sys/arch/i386/pci | |
parent | 4c1ad4a6cb68b98b13b7a966950ddb4ed17ce8a0 (diff) |
rename arc4random_bytes => arc4random_buf to match libc's nicer name;
ok deraadt@
Diffstat (limited to 'sys/arch/i386/pci')
-rw-r--r-- | sys/arch/i386/pci/glxsb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/i386/pci/glxsb.c b/sys/arch/i386/pci/glxsb.c index ef5bc2082ed..93cc40e0582 100644 --- a/sys/arch/i386/pci/glxsb.c +++ b/sys/arch/i386/pci/glxsb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glxsb.c,v 1.13 2007/12/09 21:30:24 hshoexer Exp $ */ +/* $OpenBSD: glxsb.c,v 1.14 2008/06/09 07:07:15 djm Exp $ */ /* * Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org> @@ -379,7 +379,7 @@ glxsb_crypto_newsession(uint32_t *sidp, struct cryptoini *cri) return (EINVAL); } - arc4random_bytes(ses->ses_iv, sizeof(ses->ses_iv)); + arc4random_buf(ses->ses_iv, sizeof(ses->ses_iv)); ses->ses_klen = c->cri_klen; /* Copy the key (Geode LX wants the primary key only) */ |