Subject: lib/14014: libcrypto builds incompletely on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gcw@primenet.com.au>
List: netbsd-bugs
Date: 09/20/2001 12:03:38
>Number:         14014
>Category:       lib
>Synopsis:       libcrypto fails to include file on i386
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 19 19:04:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Geoff C. Wing
>Release:        2001/09/19
>Organization:
Geoff Wing  <gcw@pobox.com>
rxvt stuff  <gcw@rxvt.org>
zsh stuff   <gcw@zsh.org>
>Environment:
System: NetBSD c.primenet.com.au 1.5Y NetBSD 1.5Y (C) #0: Mon Sep 17 13:04:19 EST 2001 gcw@c.primenet.com.au:/usr/netbsd/src/sys/arch/i386/compile/C i386
Architecture: i386
Machine: i386
>Description:
	On i386, libcrypto provides alternative des_enc files.  One of
	them is not included so essential des functionality is not
	compiled in

>How-To-Repeat:
	build libcrypto, install, try ssh, watch failure.  Or
	% nm libcrypto.so.1.0 | fgrep ' U des'
>Fix:
	
--- src/lib/libcrypto/arch/i386/des.inc.orig	Mon Sep 10 12:56:58 2001
+++ src/lib/libcrypto/arch/i386/des.inc	Thu Sep 20 11:43:49 2001
@@ -2,4 +2,6 @@
 
 CPPFLAGS+=	-DDES_UNROLL -DDES_RISC2 -DDES_PTR
 
+SRCS+=		des_enc3.c
+
 .include "${.CURDIR}/des.inc"
>Release-Note:
>Audit-Trail:
>Unformatted: