Bug 933 - compile problem on tru64 5.1A code outside of a #ifdef that should not be included on tru64
Summary: compile problem on tru64 5.1A code outside of a #ifdef that should not be inc...
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: Build system (show other bugs)
Version: 3.8p1
Hardware: Alpha OSF/1
: P2 normal
Assignee: OpenSSH Bugzilla mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 01:55 AEST by Mark
Modified: 2006-10-07 11:37 AEST (History)
0 users

See Also:


Attachments
make fails trying to link xcrypt and others (726 bytes, application/octet-stream)
2004-09-21 02:06 AEST, Mark
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mark 2004-09-21 01:55:56 AEST
compile problem on tru64 5.1A code outside of a #ifdef that should not be included on tru64
Comment 1 Mark 2004-09-21 02:06:31 AEST
Created attachment 718 [details]
make fails trying to link xcrypt and others

./configure --without-shadow --with-zlib=/usr/local/lib
--with-cflags="-I/usr/local/include"  --with-cppflags="-I/usr/local/include"
--with-osfsia

in auth-passwd.c on Tru64 UNIX 5.1A


We have already finished with the following code
#if defined(HAVE_OSF_SIA)
	/*	 
	 * XXX: any reason this is before krb?	could be moved to
	 * sys_auth_passwd()?  -dt
	 */	 
	return auth_sia_password(authctxt, password) && ok;
#endif

This return at the bottom should not be outside the chain of #ifdef's and the
follow up code of sys_auth_passwd should also not be compiled on Tru64

#endif

	return (sys_auth_passwd(authctxt, password) && ok);
}

#ifdef BSD_AUTH
int
Comment 2 Darren Tucker 2004-09-21 06:08:04 AEST
This has already been fixed in 3.9p1: auth_sia_passwd in auth-sia.c has been
renamed to sys_auth_passwd and the special case for SIA in auth-passwd.c has
been removed.
Comment 3 Darren Tucker 2004-10-06 23:39:05 AEST
This is believed fixed in 3.9p1, please re-open if it still happens on that
version (also see bug #940 for a 3.9p1 compile error on Tru64).
Comment 4 Darren Tucker 2006-10-07 11:37:14 AEST
Change all RESOLVED bug to CLOSED with the exception of the ones fixed post-4.4.