misc/103022: /usr/include/crypto/rijndael.h is wrong

Danny Braniss danny at cs.huji.ac.il
Fri Sep 8 09:50:24 UTC 2006

>Number:         103022
>Category:       misc
>Synopsis:       /usr/include/crypto/rijndael.h is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 08 09:50:21 GMT 2006
>Originator:     Danny Braniss
>Release:        FreeBSD 6.1-STABLE amd64
System: FreeBSD bsd 6.1-STABLE FreeBSD 6.1-STABLE #17: Sat Sep 2 10:55:04 IDT 2006 danny at bsd:/r+d/obj/bsd/r+d/6.1/src/sys/HUJI amd64

	in usr/include/crypto/rijndael.h
		void    rijndael_set_key(rijndael_ctx *, const u_char *, int);
	refers to the kernel version while libssh has a different idea:
		void     rijndael_set_key(rijndael_ctx *, u_char *, int, int);

	this makes a user-land compilation fail.

	#include <crypto/rijndael.h>
	rijndael_set_key(ctx, a, b, c);
	will fail to compile.
	install in /usr/local/crypto the correct rijndael.h,


More information about the freebsd-bugs mailing list