Re: errno=5 in SSL_read( )

2006-04-19 Thread Haridharan Nattamai
Gayathri,Thanks for your message.I could see from your snippet you have used BIO in non blocking mode. But my application must be in such a way that it must wait to read the data. Do you have any idea on trying this for blocking mode. thanks,HaridharanOn 4/20/06, Gayathri Sundar <[EMAIL PROTECTED]>

RE: errno=5 in SSL_read( )

2006-04-19 Thread Gayathri Sundar
I too faced similar problem when I pumped heavy data via smart bits.. this piece of code worked for me..btw the underlying bio in non blocking..      do  {    ERR_clear_error();    nbytesread = SSL_read(pSSLObject,pBuffer,BufSize);    if(nbytesread > 0 )    {   totalbytesread += nbytes

Symetric ciphers question

2006-04-19 Thread michael Dorrian
If i dont have key ageement and key exchange. Can my symetric cipher work?. My understanding is that the symetric key used for both encryption and decryption is the agreed key between the client and server after key agreement has been done. For key agreement to work i thought you need a private key

RE: Problems running application

2006-04-19 Thread David Schwartz
> I wrote an application (C++) using openssl. On my test environment it > works fine, but when i try to run it on my server I get this message: > "OpenSSL_Uplink (0050A010,07): no OpenSSL_Applink". > > I thought it could be something related to installation of openssl, > but I have the same versio

Problems running application

2006-04-19 Thread Vanessa Campos
Hi, I wrote an application (C++) using openssl. On my test environment it works fine, but when i try to run it on my server I get this message: "OpenSSL_Uplink (0050A010,07): no OpenSSL_Applink". I thought it could be something related to installation of openssl, but I have the same version on bo

errno=5 in SSL_read( )

2006-04-19 Thread Haridharan Nattamai
Hi,I'm using openssl v0.9.7i. When I try to receive a huge amount of data sometimes I get errno=5(SSL_ERROR_SYSCALL) and the exact response code is "EOF was observed that violates the protocol". At some cases when this error occurs, I get TCP ZeroWindowViolation in ethereal's trace log. I like to k

Re: Need help for X509

2006-04-19 Thread Saurabh Arora
hithere is no error in mkreq.c code.its just the lack of documentation for naive users.heres the commands wch worked for me :-gcc mkreq.c -o mkreq.o -lcrypto -ldl - means use 2 libraries - lcrypto , -ldl (although the documentation shows : only lcrypto )On 4/19/06, Namrata P

Re: [EMAIL PROTECTED]: compile error help !]

2006-04-19 Thread Lutz Jaenicke
On Mon, Apr 17, 2006 at 11:50:35AM -0700, Patrick Hsu wrote: > Lutz et al: > ok we switched compilers to gcc 3.0.1, after a couple of trial tests , we > got pass : > 1. make > but having problems with > 2. make test > error as follows: > > [EMAIL PROTECTED] [/stub/Ossl/openssl-0.9.7i]# mak

RE: Need help for X509

2006-04-19 Thread Namrata Patil
Title: RE: Need help for X509 I used #define OPENSSL_NO_ENGINE and got the message cc -g -I../../include -Wall   -c -o mkreq.o mkreq.c In file included from mkreq.c:13: ../../include/openssl/engine.h:70:2: #error ENGINE is disabled. gmake: *** [mkreq.o] Error 1 in the engine.h file its

RE: Need help for X509

2006-04-19 Thread Girish Venkatachalam
the ENGINE interface is the hardware interface of OpenSSL. If you are not using any cypto hardware you can safely #define OPENSSL_NO_ENGINE CRYPTO_cleanup_all_ex_data() is defined in ex_data.c file. Make sure your compiler picks up the definition from there... --- Namrata Patil <[EMAIL PROTECTED

RE: Need help for X509

2006-04-19 Thread Namrata Patil
I am getting the error below now while recompiling for x509 .c files.   mkreq.c:39: undefined reference to `ENGINE_cleanup' mkreq.c:41: undefined reference to `CRYPTO_cleanup_all_ex_data'   here is the ref to above calls in the mkreq.c   #ifndef OPENSSL_NO_ENGINE #include #endif