Re: Getting public/private keys into/out of NSS

2007-07-10 Thread Robert Relyea
Dave Townsend wrote: Hi Bob, thanks for all your help by the way, got me much further so far. Robert Relyea wrote: You really only want to store and retrieve the private keys if you you need to transport them (or back them up). Doing the latter needs to be handled carefully, and can be a s

Re: Getting public/private keys into/out of NSS

2007-07-10 Thread Dave Townsend
Hi Bob, thanks for all your help by the way, got me much further so far. Robert Relyea wrote: > You really only want to store and retrieve the private keys if you you > need to transport them (or back them up). Doing the latter needs to be > handled carefully, and can be a source of errors in y

Re: PR_Close and PR_Shutdown hang if an SSL socket is blocking on Read

2007-07-10 Thread Wan-Teh Chang
Yahel Zamir wrote: > Hi, > > I have encountered a problem in using SSL sockets in blocking mode. My > application is multi threaded, with one thread waiting to read and > another that is waiting to write. Upon some external input, a third > thread tries to shutdown the connection and then close th

Re: PR_Close and PR_Shutdown hang if an SSL socket is blocking on Read

2007-07-10 Thread Yahel Zamir
Oops, I forgot some details - we are using NSS-3.11.4 and NSPR-4.6.4 on a RedHat Linux with Kernel 2.4, using gcc 3.4.5. On Jul 10, 5:36 pm, Yahel Zamir <[EMAIL PROTECTED]> wrote: > Hi, > > I have encountered a problem in using SSL sockets in blocking mode. My > application is multi threaded, with

PR_Close and PR_Shutdown hang if an SSL socket is blocking on Read

2007-07-10 Thread Yahel Zamir
Hi, I have encountered a problem in using SSL sockets in blocking mode. My application is multi threaded, with one thread waiting to read and another that is waiting to write. Upon some external input, a third thread tries to shutdown the connection and then close the socket. However, calling PR_S