Changeset 34 in openpam


Ignore:
Timestamp:
Feb 4, 2002, 11:39:07 PM (16 years ago)
Author:
Dag-Erling Smørgrav
Message:

Whoa, don't forget to actually resolve symbols once we've located a
dynamic module.

Sponsored by: DARPA, NAI Labs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/openpam_load.c

    r32 r34  
    6868        pam_module_t *module;
    6969        void *dlh;
     70        int i;
    7071
    7172        /* check cache first */
     
    8384                        goto buf_err;
    8485                module->dlh = dlh;
     86                for (i = 0; i < PAM_NUM_PRIMITIVES; ++i)
     87                        module->func[i] = dlsym(dlh, _pam_sm_func_name[i]);
    8588        }
    8689        openpam_log(PAM_LOG_DEBUG, "%s dynamic %s",
Note: See TracChangeset for help on using the changeset viewer.