Date: Tue, 21 Oct 2003 22:02:24 +0200 From: "Joachim Strombergson" <watchman@ludd.luth.se> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/58347: Wrong include path in man (9) for rijndael Message-ID: 1066766533@fetis.ninja.se Resent-Message-ID: <200310212010.h9LKAHMw041242@freefall.freebsd.org>
| raw e-mail | index | archive | help
>Number: 58347 >Category: docs >Synopsis: Wrong include path in man (9) for rijndael >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 21 13:10:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Joachim Strombergson >Release: FreeBSD 5.1-CURRENT i386 >Organization: >Environment: System: FreeBSD fetis.ninja.se 5.1-CURRENT FreeBSD 5.1-CURRENT #13: Sun Sep 28 11:03:31 CEST 2003 js@fetis.ninja.se:/usr/obj/usr/src/sys/ATHLON i386 >Description: 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. >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> >Fix: Apply the following patch: --- /usr/src/share/man/man9/rijndael.9 Fri Apr 12 07:23:16 2002 +++ /usr/src/share/man/man9/rijndael.9 Tue Oct 21 21:58:58 2003 @@ -39,7 +39,7 @@ .Nd AES encryption .Sh SYNOPSIS .In sys/types.h -.In crypto/rijndael/rijndael.h +.In crypto/rijndael.h .Ft int .Fo rijndael_makeKey .Fa "keyInstance *key" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1066766533>