Re: PAM with OpenSSL - urgent help needed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 02, Boris Breslav wrote:

> 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?

Linking a static library into a shared one is always a mistake and
should never be made.
Else I can only say I had never problems with that.

  Thorsten

-- 
Thorsten Kukuk         http://www.suse.de/~kukuk/      kukuk@xxxxxxx
SuSE Linux Products GmbH       Maxfeldstr. 5       D-90409 Nuernberg
--------------------------------------------------------------------    
Key fingerprint = A368 676B 5E1B 3E46 CFCE  2D97 F8FD 4E23 56C6 FB4B

_______________________________________________

Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux