- (dtucker) [regress/agent-getpeereid.sh] Do peereid test if we have

HAVE_GETPEERUCRED too.  Also from Jan Pechanec.
This commit is contained in:
Darren Tucker 2007-03-21 21:45:48 +11:00
parent 164aa30e46
commit 9869ab3557
2 changed files with 6 additions and 2 deletions

View File

@ -32,6 +32,8 @@
- (dtucker) [configure.ac openbsd-compat/bsd-getpeereid.c] Bug #1287: Use
getpeerucred to implement getpeereid (currently only Solaris 10 and up).
Patch by Jan.Pechanec at Sun.
- (dtucker) [regress/agent-getpeereid.sh] Do peereid test if we have
HAVE_GETPEERUCRED too. Also from Jan Pechanec.
20070313
- (dtucker) [entropy.c scard-opensc.c ssh-rand-helper.c] Bug #1294: include
@ -2861,4 +2863,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
$Id: ChangeLog,v 1.4646 2007/03/21 10:39:57 dtucker Exp $
$Id: ChangeLog,v 1.4647 2007/03/21 10:45:48 dtucker Exp $

View File

@ -7,7 +7,9 @@ UNPRIV=nobody
ASOCK=${OBJ}/agent
SSH_AUTH_SOCK=/nonexistant
if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1
if grep "#undef.*HAVE_GETPEEREID" ${BUILDDIR}/config.h >/dev/null 2>&1 && \
grep "#undef.*HAVE_GETPEERUCRED" ${BUILDDIR}/config.h >/dev/null && \
grep "#undef.*HAVE_SO_PEERCRED" ${BUILDDIR}/config.h >/dev/null
then
echo "skipped (not supported on this platform)"
exit 0