hi
I have to develope a clientprogramm over SSL. Yesterday I have downloaded
the openSSL-engine-0.9.6. Build and install OpenSSL == okay.
> ./config == okay
> make == okay
> make test == okay
> make install== okay
- Have a look to my (concentratet) source:
cbio = BIO_new_connect("edina.xnc.com:80") // ==okay == not NULL
out = BIO_new_fp(stdout, BIO_NOCLOSE); // ==okay == not NULL
methode=SSLv2_client_method(); // ==okay == not NULL
sslctx=SSL_CTX_new(methode); // ==okay == not NULL
ssl=SSL_new(sslctx); // ==okay == not NULL
SSL_set_bio(ssl, out, cbio);
SSL_connect(ssl);
After trying to connect i get following error:
The TLS/SSL handshake was not successful but was shut down controlled and
by
the specifications of the TLS/SSL protocol
:error:00000006:lib(0):func(0):bad get asn1 object call
Something is going wrong, but I don t know, where I have search for.
Any help is very appreciated, thanks
Frank
Frank Koenig -------------------------------- .XNC GmbH -------------
Auf der Kaiserbitz 3
51147 Koeln
Fon 02203/695091
Fax 02203/6950
SoftWareEngineering ----------------------- e-mail [EMAIL PROTECTED] -------
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]