Bug 58347

Summary: Wrong include path in man (9) for rijndael
Product: Documentation Reporter: watchman <watchman>
Component: Books & ArticlesAssignee: Hiten Pandya <hmp>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description watchman 2003-10-21 21:10:12 UTC

The manual page for rijndael contains an include path that is incorrect. The manual states:

SYNOPSIS
     #include <sys/types.h>
     #include <crypto/rijndael/rijndael.h>

But, Rijndael is actually locates in:
/usr/include/crypto/rijndael.h

That is, in the crypto subdir, not in a specific Rijndael directory.

Fix: Apply the following patch:
How-To-Repeat: 

man rijndael and then try to use the includes found in the man page in an application that uses Rijndael:

<qote>
gcc -O -o testRijndael rijndael_regtest.c
rijndael_regtest.c:20:38: crypto/rijndael/rijndael.h: No such file or directory
*** Error code 1
</quote>
Comment 1 Hiten Pandya freebsd_committer freebsd_triage 2003-10-22 10:57:16 UTC
Responsible Changed
From-To: freebsd-doc->hmp

I will commit a fix.
Comment 2 Hiten Pandya freebsd_committer freebsd_triage 2003-10-22 11:01:16 UTC
State Changed
From-To: open->closed

Fix has been committed, thanks!