OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Owain Ainsworth (ogacvs.openbsd.org)
Date: Tue Feb 17 2009 - 12:38:31 CST


CVSROOT: /cvs
Module name: src
Changes by: ogacvs.openbsd.org 2009/02/17 11:38:31

Modified files:
        sys/crypto : cryptodev.c

Log message:
The loop here preparing the uio always added the length of the first
iovec, not the correct one. It worked ok since iovcnt was always 1.

Since it's unlikely to be any other number, remove the loop and just add
the one length we care about.

"go ahead" deraadt.