Building with OSSL

2008-04-17 Thread Tomas Neme
Also, I need to build with OpenSSL, but from source. The thing is that compiling the source throws about a bazillion "undefined reference" linking errors. The one I'm running into right now is this: /home/soundwave/projects/larvita2/trunk/fileio/openssl/ssl/ssl_algs.c:72: undefined reference to `E

My first stumbles with OpenSSL [was: SSL overhead]

2008-04-17 Thread Tomas Neme
All who have answered: Thanks a lot. Yes, I understood that the poll() should read to a buffer last night, in the shower. You know how that works ;). But I also understood that I had misunderstood the way the "poll" and "read" methods were being used, and "read" will be called no matter what "poll

Re: openssl compilation problem with vxworks-mipsle

2008-04-17 Thread samrat saha
Hi all, As i did not get any reply from you people i thought of replying myself as i figured out how to solve the problem for openssl cross vxworks compilation. Basically in cygwin environment openssl does not understand symbolic links. Also all the header files it will look for in particular tona

Re: SSL overhead

2008-04-17 Thread Dr. Stephen Henson
On Wed, Apr 16, 2008, Tomas Neme wrote: > does one of the flags in the BIO object say anything about the > blocking nature of the BIO? For example, does SSL_connect return > automatically or not depending on the BIO flags, or on the BIO_write > and read return values? > If a BIO is blocking it s

Re: SSL overhead

2008-04-17 Thread Steffen DETTMER
* Tomas Neme wrote on Wed, Apr 16, 2008 at 17:44 -0300: > The problem is that SSL_pending might return 0 if there's > stuff on the socket, but isn't enough to decode a full record. If you want SSL to be transparent, why are you interested in intermediate protocol-specific data which would not be

RE: SSL overhead

2008-04-17 Thread Keller, Michael
Hi, Just a shy question: are you sure you can't do what you want by just using BIO_new_bio_pair, connect one to SSL and deal with the other one for networking, like: BIO_new_bio_pair(&pInternalBio, BUF_SIZE, &pNetworkBio,

Re: Public key from a x509v3 certificate

2008-04-17 Thread delcour.pierre
Hello, David Schwartz wrote: If you want to compare the DER encodings, you need to get the DER encoding, not the number. If you want to compare the numbers, '03' should compare equal to '3' anyway. What are you trying to do? DS I just want to extract the public key to store it in another place