cvs commit: src/sys/crypto/rijndael rijndael-alg-fst.c

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Aug 17 07:57:51 GMT 2005


On Wed, Aug 17, 2005 at 12:24:20AM +0000, Colin Percival wrote:
+> cperciva    2005-08-17 00:24:20 UTC
+> 
+>   FreeBSD src repository
+> 
+>   Modified files:
+>     sys/crypto/rijndael  rijndael-alg-fst.c 
+>   Log:
+>   Unbreak the world build (in sbin/gbde).  This file is used by both
+>   kernel and world, so KASSERT() needs to be wrapped within an #ifdef
+>   _KERNEL / #endif pair.
+>   
+>   Reported by:    krion, tinderbox

Thanks for fixing it and sorry for the build breakage.
I'll commit a bit different fix, as I want this assertion also in userland.
Without it, it will explode in rijndaelEncrypt() and this KASSERT will help
to catch it sooner.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050817/e95c48dc/attachment.bin


More information about the cvs-src mailing list