Issue with SSL sockets pthreads

2009-09-02 Thread Laura Arhire
I'm having a bit of an issue with something I encountered while unit testing my socket classes - each test basically creates a thread on which a server socket listens. From the main thread I connect a client to the server socket. I've found that after about 10-15 such tests I cannot create new

Re: blocking BIO_read

2009-08-28 Thread Laura Arhire
Thank you very much! Ger Hobbelt wrote: On Thu, Aug 27, 2009 at 2:24 PM, Laura Arhirelaura.arh...@endion-software.com wrote: Hey I'm using the BIO abstraction for reading/writing to sockets - a small part of the BIO_read method is unclear: For a blocking socket, will the BIO_read call

blocking BIO_read

2009-08-27 Thread Laura Arhire
Hey I'm using the BIO abstraction for reading/writing to sockets - a small part of the BIO_read method is unclear: For a blocking socket, will the BIO_read call block until the length provided in the call is filled in the buffer, or will it return as soon as it managed to read anything

Re: ecdsa public key output

2009-08-20 Thread Laura Arhire
-Original Message- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Laura Arhire Sent: Tuesday, August 18, 2009 12:55 AM To: openssl-users@openssl.org Subject: ecdsa public key output Hello I'm trying to import ecdsa certificates for a java server

ecdsa public key output

2009-08-18 Thread Laura Arhire
Hello I'm trying to import ecdsa certificates for a java server using the java keytool utility. After having had trouble with openssl generated certificates, I generated a certificate using the keytool utility to see what the difference is. Upon running the openssl x509 -in cert.crt -noout

ecdsa-signed certificates algorithm recognition problems

2009-08-17 Thread Laura Arhire
Hello I have successfully managed to create and use certificates which contained and were signed by ecdsa keys in my own prototype program. However, upon attempting to import such a certificate in the java certificate store, I came upon some trouble. It seems there is something wrong with

Re: ecdsa-signed certificates algorithm recognition problems

2009-08-17 Thread Laura Arhire
Just a quick note. openss x509 prints out the correct thing if I use 0.9.8h (the default openssl on my machine is 0.9.7-something). Now just the java part of my problem remains, but I suspect that has something to do with my setup. Sorry for the previous message. Laura Laura Arhire wrote

Retrieving hostname after accept

2009-08-10 Thread Laura Arhire
Hello I have a simple question that I can't find an answer to. I'm writing an application where every instance is both client and server (a thread is listening for incoming connections on a predefined port, and at the same time connections are created to others whenever they're needed).