RE: SSL_connect problem

2005-03-09 Thread vijay basav
basav Sent: Monday, March 07, 2005 8:22 AM To: openssl-users@openssl.org Subject: SSL_connect problem hi i have ported openssl on to vxworks mips processor. i havewritten a simple code for sercure server-client interaction. SSL_connect isgiving me problems. the error is SSL_ERROR_SYSCALL

SSL_connect problem

2005-03-07 Thread vijay basav
hi i have ported openssl on to vxworks mips processor. i have written a simple code for sercure server-client interaction. SSL_connect is giving me problems. the error is SSL_ERROR_SYSCALL. ERR_get_error is returning a 0. but ERR_error_string_n( ..) is returning error:

RE: SSL_connect problem

2005-03-07 Thread Vu Pham
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of vijay basav Sent: Monday, March 07, 2005 8:22 AM To: openssl-users@openssl.org Subject: SSL_connect problem hi i have ported openssl on to vxworks mips processor. i

[OpenSSL 0.9.7d] SSL_connect() problem on Linux.

2004-10-27 Thread David Choi
Hi, I wrote a simple https client on *nix system, and it worked fine on solaris(including x86) and linux 2.4.8. Recently I have tested my code on Linux kernel 2.6.8. But some box gave me 'time out' while did SSL_connect(). After I did SSL_get_error(), I found it was SSL_ERROR_SYSCALL. It

SSL_Connect( ) problem

2003-10-03 Thread Kambourakis Georgios
Hi, i have a problem with SSL_Connect(). My client runs on a Pocket PC 2002 and the server in Win32. BIO socket is connected succesfully but SSL_Connect( ) fails. Environment: OpensSSL 0.9.7c (OpenSSL installation for WIN-CE passed all tests). Many Thanks in Advance

SSL_connect() problem?

2003-08-11 Thread Juan Segarra
Hi. I'm writing a small class that uses the ssl library. The problem ( I'm not sure who has the problem :-P ) is that SSL_connect() blocks when the verify callback function returns 0. If it returns 1 all goes as expected. I'm using a blocking connect bio as the underlaying bio for the SSL object.

Re: SSL_connect problem : bad asn1 object header

2003-01-19 Thread mikecross
the problem seems to be that you use self signed certificates /both sides/. there is a few possible ways to do this: 1. use custom handler for errors in certificates in your server static int SSL_verify_callback(int ok, X509_STORE_CTX *ctx) { charbuf[256]; X509* err_cert; int err,

SSL_connect problem

2001-12-07 Thread Mahui
server is ready. client call SSL_connect(ssl); in gdb,it say: 1057:error:0D06B078:asn1 encoding routines:ASN1_get_object:header too long:asn1_lib.c:139: 1057:error:0D09F006:asn1 encoding routines:d2i_X509:bad get asn1 object call:x_x509.c:102:address=135128672 offset=0 1057:error:1407E00B:SSL

SSL_Connect problem on win32

2000-07-12 Thread Rose Marie Carissimi
I'm trying to add ssl support to an application that uses non-blocking sockets on Win32 platform. I've downloaded the most recent version of the library 0,9.5a and compiled it on my machine. These are the steps that I follow: Initialize the SSL library and create a context.

Re: SSL_Connect problem on win32

2000-07-12 Thread Dr Stephen Henson
Rose Marie Carissimi wrote: When the first FD_READ is received we get an SSL_READ error. SSL_ERROR_SSL if I call ERR_get_error() I get the following hex value 0x24064064. I can also see in the logging that the handshake was at this point - SSLv3 write client key exchange A - before we

SSL_Connect problem on win32

2000-06-29 Thread Frankie Fong
Hi There, I am running into a problem getting SSL_connect() to work on win32. It is not the PRNG problem because RAND_status() returns 1. After SSL_connect() returns -1, the call SSL_get_error() returns 2 which translates to "system lib". I tried both 0.9.5 and 0.9.5a and they both give me