SECU_GetModulePassword throwing error

2008-02-26 Thread main13
Hi All!!!, I wrote a code that incorporated the following functions amongst others: SECU_DefaultSSLDir SECU_ConfigDirectory SECU_GetModulePassword (called by PK11_SetPasswordFunc) I had tested this code earlier as .c code and it was running fine. The I modified it into .cpp code. Their relative

Re: SECU_GetModulePassword throwing error

2008-02-26 Thread Robert Relyea
[EMAIL PROTECTED] wrote: All of these functions are declared in secutil.h(and defined in secutil.c). Most of the NSS headers have macros around the headers so that they can be included in C++ programs (SEC_BEGIN_PROTOS) secutil.h is a header that's not part of NSS proper, but part of a

Re: PKCS#11 software token concurrent database access

2008-02-26 Thread Jean-Marc Desperrier
Robert Relyea wrote: Jean-Marc Desperrier wrote: Robert Relyea wrote: I'm currently running my Firefox and TB against the sqlite3 database. The main impediment to general deployment is Bug 391296. New NSS applications would not have to worry about the issues in Bug 391296. I really think

Re: PKCS#11 software token concurrent database access

2008-02-26 Thread Eddy Nigg (StartCom Ltd.)
Jean-Marc Desperrier wrote: The use case I was describing below was the one I saw for someone using certs in both Firefox and Thunderbird. If the need to share cert already existed before the technical possibility, the user had to do it by hand, and will not be under shock to have to do

Re: Looking for a standard NSS function

2008-02-26 Thread martijn . s
On Feb 15, 4:39 pm, Wan-Teh Chang [EMAIL PROTECTED] wrote: On Fri, Feb 15, 2008 at 2:35 AM, D3!$ [EMAIL PROTECTED] wrote: Hi All!!!  I am looking for a standard NSS/NSPR function which when called should  return and/or the local IP address and the port number to which SSL is  bound

About switching Fx/Tb default database to sqlite3

2008-02-26 Thread Jean-Marc Desperrier
So what prevents making sqlite3 the default database for Fx/Tb ? Is there a plan ? A bug list ? I tried to find out by myself. Since bug 306907 is closed, bug 217538 should be easy to do, right ? I've found the bug for Tb (390221), but no companion bug for Fx.

Re: Looking for a standard NSS function

2008-02-26 Thread Wan-Teh Chang
On Tue, Feb 26, 2008 at 3:09 PM, [EMAIL PROTECTED] wrote: On Feb 15, 4:39 pm, Wan-Teh Chang [EMAIL PROTECTED] wrote: On Fri, Feb 15, 2008 at 2:35 AM, D3!$ [EMAIL PROTECTED] wrote: Hi All!!! I am looking for a standard NSS/NSPR function which when called should return

Re: About switching Fx/Tb default database to sqlite3

2008-02-26 Thread Nelson Bolyard
Jean-Marc Desperrier wrote, On 2008-02-26 15:43 PST: So what prevents making sqlite3 the default database for Fx/Tb ? I think there are still a lot of details to be worked out. See http://wiki.mozilla.org/NSS_Shared_DB#Mozilla_Applications and

Re: Looking for a standard NSS function

2008-02-26 Thread Nelson Bolyard
[EMAIL PROTECTED] wrote, On 2008-02-26 15:09: On Feb 15, 4:39 pm, Wan-Teh Chang [EMAIL PROTECTED] wrote: On Fri, Feb 15, 2008 at 2:35 AM, D3!$ [EMAIL PROTECTED] wrote: Hi All!!! I am looking for a standard NSS/NSPR function which when called should return and/or the local IP address and