Subject: lib/37505: src/lib/libcrypto/*.inc should reflect the reality
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <obata@lins.jp>
List: netbsd-bugs
Date: 12/09/2007 02:00:00
>Number:         37505
>Category:       lib
>Synopsis:       src/lib/libcrypto/*.inc should refrect the reality
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 09 02:00:00 +0000 2007
>Originator:     OBATA Akio
>Release:        NetBSD 4.0_RC5
>Organization:
	LINS, Japan.
>Environment:
System: NetBSD miki.lins.jp 4.0_RC5 NetBSD 4.0_RC5 (MIKI) #27: Fri Nov 30 22:51:19 JST 2007 root@miki.lins.jp:/usr/src/sys/arch/i386/compile/MIKI i386
Architecture: i386
Machine: i386
>Description:
	Some *.inc files in libcrypto does not refrect the reality?
	For example, bn.inc isn't include bn_const.c
	So libcryoto.a does not contain some functions that the certain
	version of OpenSSL is sure to have originally.
	And include/openssl/bn.h contains definition of function implemented
	in bn_const.c, not included in library.
	This mismatch confuse some 3rd party softwares.
>How-To-Repeat:
	For example, build Cyrus imapd version 2.3.10.
	It is failed to link due to lack of function get_rfc2409_prime_1024().
	It uses OPENSSL_VERSION_NUMBER to check if the function is available. 
>Fix:
	Update *.inc files to refrect the reality?

>Unformatted:
 		(Also Current)