From danny@cs.huji.ac.il  Fri Sep  8 09:42:52 2006
Return-Path: <danny@cs.huji.ac.il>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E9DFA16A4E6
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  8 Sep 2006 09:42:52 +0000 (UTC)
	(envelope-from danny@cs.huji.ac.il)
Received: from cs1.cs.huji.ac.il (cs1.cs.huji.ac.il [132.65.16.10])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3468A43D7D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  8 Sep 2006 09:42:46 +0000 (GMT)
	(envelope-from danny@cs.huji.ac.il)
Received: from bsd.cs.huji.ac.il ([132.65.16.112])
	by cs1.cs.huji.ac.il with esmtp
	id 1GLcsn-00046M-8e
	for FreeBSD-gnats-submit@freebsd.org; Fri, 08 Sep 2006 12:42:45 +0300
Received: from danny by bsd.cs.huji.ac.il with local (Exim 4.60)
	(envelope-from <danny@cs.huji.ac.il>)
	id 1GLcsn-0005xN-7z
	for FreeBSD-gnats-submit@freebsd.org; Fri, 08 Sep 2006 12:42:45 +0300
Message-Id: <E1GLcsn-0005xN-7z@bsd.cs.huji.ac.il>
Date: Fri, 08 Sep 2006 12:42:45 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Reply-To: Danny Braniss <danny@cs.huji.ac.il>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: /usr/include/crypto/rijndael.h is wrong
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         103022
>Category:       kern
>Synopsis:       [headers] /usr/include/crypto/rijndael.h is wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 08 09:50:21 GMT 2006
>Closed-Date:    Thu Oct 18 08:49:37 UTC 2012
>Last-Modified:  Thu Oct 18 08:49:37 UTC 2012
>Originator:     Danny Braniss
>Release:        FreeBSD 6.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD bsd 6.1-STABLE FreeBSD 6.1-STABLE #17: Sat Sep 2 10:55:04 IDT 2006 danny@bsd:/r+d/obj/bsd/r+d/6.1/src/sys/HUJI amd64


	
>Description:
	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.

>How-To-Repeat:
	#include <crypto/rijndael.h>
	...
	rijndael_set_key(ctx, a, b, c);
	...
	will fail to compile.
>Fix:
	install in /usr/local/crypto the correct rijndael.h,
		/usr/src/crypto/openssh/rijndael.h


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->cperciva 
Responsible-Changed-By: kmacy 
Responsible-Changed-When: Fri Nov 16 06:52:10 UTC 2007 
Responsible-Changed-Why:  

Please comment on whether or not this is an issue and needs to be fixed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103022 
Responsible-Changed-From-To: cperciva->secteam 
Responsible-Changed-By: eadler 
Responsible-Changed-When: Wed Oct 17 18:03:31 UTC 2012 
Responsible-Changed-Why:  
over to alias 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103022 
Responsible-Changed-From-To: secteam->freebsd-bugs 
Responsible-Changed-By: simon 
Responsible-Changed-When: Thu Oct 18 03:24:25 UTC 2012 
Responsible-Changed-Why:  
This is not a security issue, should be handled like a normal bug. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103022 
State-Changed-From-To: open->closed 
State-Changed-By: des 
State-Changed-When: Thu Oct 18 08:49:35 UTC 2012 
State-Changed-Why:  
Overcome by events. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=103022 
>Unformatted:
