]> andersk Git - gssapi-openssh.git/commitdiff
re-fix old bug, re-introduced on re-merge of Simon's code:
authorjbasney <jbasney>
Fri, 23 Apr 2004 02:16:56 +0000 (02:16 +0000)
committerjbasney <jbasney>
Fri, 23 Apr 2004 02:16:56 +0000 (02:16 +0000)
gss_indicate_mechs() needs to be in PRIVSEP() because we need the list
of mechanisms supported by the privileged process; the unprivileged
process can't load gssapi mech libraries

openssh/gss-serv.c

index f5bfa03f3108b25bc3441935ff0a2dcb467aa883..84de210fef347de1601bd66c75d96ef2567374b4 100644 (file)
@@ -86,7 +86,8 @@ ssh_gssapi_supported_oids(gss_OID_set *oidset)
        gss_OID_set supported;
 
        gss_create_empty_oid_set(&min_status, oidset);
-       gss_indicate_mechs(&min_status, &supported);
+       /* Ask priviledged process what mechanisms it supports. */
+       PRIVSEP(gss_indicate_mechs(&min_status, &supported));
 
        while (supported_mechs[i]->name != NULL) {
                if (GSS_ERROR(gss_test_oid_set_member(&min_status,
This page took 2.179145 seconds and 5 git commands to generate.