Re: a server application using NSS

2007-01-04 Thread Yahel Zamir
Wan-Teh Chang wrote: Yahel Zamir wrote: selfserv uses SECU_Strerror, but this is a private function. in addition, on my machine it does not find an error string for -8174, for example. Could you find out why? -8174 is SEC_ERROR_BAD_DATABASE, a common error code. SEC_ERROR_BAD_DATABASE is

Re: a server application using NSS

2007-01-03 Thread Wan-Teh Chang
Yahel Zamir wrote: selfserv uses SECU_Strerror, but this is a private function. in addition, on my machine it does not find an error string for -8174, for example. Could you find out why? -8174 is SEC_ERROR_BAD_DATABASE, a common error code. SEC_ERROR_BAD_DATABASE is listed in the table: h

Re: a server application using NSS

2007-01-03 Thread Yahel Zamir
Nelson B wrote: Yahel Zamir wrote: Hi Everyone, I am using NSS for a server application, a multi-threaded program running on Linux. I have encountered a number of questions, and would be glad to know if anyone has more information. My questions are based on following the "Overview of an SSL

Re: a server application using NSS

2007-01-03 Thread Yahel Zamir
Hi Wan-Teh Chang, Please see some replies below. Wan-Teh Chang wrote: Yahel Zamir wrote: 1. When writing an application that uses NSS, I would expect all Platform Dependent configuration to reside in some configuration file, so that the build process of the whole application will not need to

Re: a server application using NSS

2007-01-02 Thread Wan-Teh Chang
Yahel Zamir wrote: 3. How should an application generate error strings? The examples at SSLsample do a very strange trick. On the other hand, selfserv on my machine simply finds no error string (for example, when using a bad certificate database, error "-8174"). I just wanted add the existi

Re: a server application using NSS

2007-01-02 Thread Wan-Teh Chang
Yahel Zamir wrote: 1. When writing an application that uses NSS, I would expect all Platform Dependent configuration to reside in some configuration file, so that the build process of the whole application will not need to be aware of these details. However, the platform name and other proper

Re: a server application using NSS

2007-01-02 Thread Nelson B
Yahel Zamir wrote: > Hi Everyone, > > I am using NSS for a server application, a multi-threaded program > running on Linux. I have encountered a number of questions, and would be > glad to know if anyone has more information. My questions are based on > following the "Overview of an SSL Applica