Title: PKCS#11 loading problem

Hello, folks,

First of all, thank you for the hard work.

I am having difficulty loading my PKCS#11 module on Mozilla-0.9.9 / Mac OS X.  I tried Netscape-6.2, too, but got the same result.  I will really appreciate it if you could give me a hint. 

I wrote just enough (C_GetFunctionList, C_Initialize, etc.) methods to be able to be loaded to the browser.

I tested the code on Netscape-4.7* on Solaris.  The browser loads it fine.
Now I brought the source code to Mac OS X-1.3, compiled and linked.  But the browser doesn't load it.  It says "Unable to add module".  I tried to log error messages from my module, but it doesn't do it.  I guess my module is not loaded at all.

Any advice on this, please?  Is there any way to get error messages from Mozilla (or Netscape) regarding PKCS#11 module loading? 

Thank you.


    [localhost:~/mycode/acpkcs11] apple% make
    cc -c -o ac_macx_pkcs11.o ac_macx_pkcs11.c
    cc -dynamiclib -o libac_macx_pkcs11.dylib ac_macx_pkcs11.o -lc -lm -ldl
    [localhost:~/mycode/acpkcs11] apple%

    Mozilla-0.99 binary downloaded from
    http://download.mozilla.org/pub/mozilla/releases/mozilla0.9.9/mozilla-macosX-0.9.9.smi.bin

Reply via email to