PAM with OpenSSL - urgent help needed

Boris Breslav boris at bsafesolutions.com
Wed Feb 2 01:02:55 UTC 2005


Hi
is there any reason that I should not use OpenSSL library (libcrypto) with 
PAM?
The same piece of code works in a command line program and fails with my 
custom PAM module.
I compile the module like this:
gcc -c -fpic -I/usr/local/ssl/include mymodule.c
gcc -shared mymodule.o -o pam_mymodule.so -L/usr/local/ssl/lib -lcrypto

Could it be a problem that /usr/local/ssl/lib/libcrypto.a is a static 
library?

Thanks





More information about the Pam-list mailing list