Ludovic Rousseau wrote:
On 05/04/07, Robert Relyea <[EMAIL PROTECTED]> wrote:Introduction to the pam_pkcs11-nss.patchI have a compiler warning: pkcs11_eventmgr.c: In function 'main': pkcs11_eventmgr.c:502: attention : passing argument 2 of 'load_pkcs11_module' from incompatible pointer type I think a correct patch is: Index: src/tools/pkcs11_eventmgr.c =================================================================== --- src/tools/pkcs11_eventmgr.c (révision 238) +++ src/tools/pkcs11_eventmgr.c (copie de travail) @@ -499,7 +499,7 @@ int main(int argc, char *argv[]) { parse_args(argc,argv); /* load pkcs11 module */ DBG("loading pkcs #11 module..."); - rv = load_pkcs11_module(pkcs11_module, ph); + rv = load_pkcs11_module(pkcs11_module, &ph); if (rv != 0) { DBG1("load_pkcs11_module() failed: %s", get_error()); return 1; I applied the proposed patch in revision 241. If you think it is wrong please tell me.
Yikes, This is the correct patch!I just did an update, and a clean checkout, and it looks like the new files didn't get added to the repository.
A src/common/SSLerrs.h A src/common/cert_st.h A src/common/SECerrs.h A src/common/secutil.h A src/common/alg_st.h A src/common/NSPRerrs.h A src/common/algorithm.c They must be in or tree, or you wouldn't have been able to compile. I'll get the next patch ready just now! Thanks! bob
bye
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel