rpms/pam_pkcs11/devel pam_pkcs11-0.5.3-setup-tool.patch,1.2,1.3

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Aug 29 02:23:13 UTC 2006


Author: rrelyea

Update of /cvs/dist/rpms/pam_pkcs11/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17436

Modified Files:
	pam_pkcs11-0.5.3-setup-tool.patch 
Log Message:


Add RTLD_LAZY so that the shared library actually loads. Otherwise we don't
get a library handle back (Also _LAZY is the right thing since we are going 
to unload it right away without using it anyway).


pam_pkcs11-0.5.3-setup-tool.patch:
 Makefile.am    |    7 
 Makefile.in    |   21 +-
 pkcs11_setup.c |  519 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 540 insertions(+), 7 deletions(-)

Index: pam_pkcs11-0.5.3-setup-tool.patch
===================================================================
RCS file: /cvs/dist/rpms/pam_pkcs11/devel/pam_pkcs11-0.5.3-setup-tool.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- pam_pkcs11-0.5.3-setup-tool.patch	28 Aug 2006 21:03:47 -0000	1.2
+++ pam_pkcs11-0.5.3-setup-tool.patch	29 Aug 2006 02:23:10 -0000	1.3
@@ -237,7 +237,7 @@
 +    		continue;
 +    	}
 +    	/* verify the module exists */
-+        if ((libhandle=dlopen(path, 0)) != NULL) {
++        if ((libhandle=dlopen(path, RTLD_LAZY)) != NULL) {
 +    	    dlclose(libhandle);
 +    	    if (pkcs11_blocks[i] && pkcs11_blocks[i]->name
 +    	        && pkcs11_blocks[i]->name->data) {




More information about the fedora-cvs-commits mailing list