From 16ba6a8ea25ee45feec55ce5a29a4723c2665ea2 Mon Sep 17 00:00:00 2001 From: Darren Tucker Date: Sun, 9 Mar 2008 16:36:55 +1100 Subject: - (dtucker) [openbsd-compat/port-aix.{c,h}] Remove AIX specific initgroups implementation. It's not needed to fix bug #1081 and breaks the build on some AIX configurations. --- openbsd-compat/port-aix.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'openbsd-compat/port-aix.c') diff --git a/openbsd-compat/port-aix.c b/openbsd-compat/port-aix.c index b19d2296e..5b1cb7387 100644 --- a/openbsd-compat/port-aix.c +++ b/openbsd-compat/port-aix.c @@ -435,17 +435,6 @@ out: *grpcnt = ngroups; return ret; } - -int -ssh_initgroups(const char *user, gid_t group) -{ - gid_t grps[NGROUPS_MAX]; - int grpcnt = NGROUPS_MAX; - - if (getgrouplist(user, group, grps, &grpcnt) == -1) - return -1; - return setgroups(grpcnt, grps); -} # endif /* USE_GETGRSET */ #endif /* _AIX */ -- cgit v1.2.3