Hello all!

Sorry for my ignorance. I haven't played enough with OpenSSL to solve
this prorably pretty easy to find mistake. In my head it caused short
circuit already. Short description is: I do what I want with Openssl
0.9.3a then I try to free all resources but this causes core dump on
BIO_free() call. I made some trace log of SSL functions I used:

enter: this=0x82077e0, sd=TCP/IP (8), ssl_context=0x81f4650, state=2
enter: this=0x82077e0, fd=0x8, ssl_context=0x81f4650, state=2,
bio_flags=0
ssl: SSL_new(0x81f4650)
ssl: BIO_new_socket(8 ,0)
ssl: SSL_set_bio(0x8201688, 0x8201fa0 ,0x8201fa0)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 10)
ssl: SSL_write(0x82077e0, 0x820a2c8, 7)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 15)
ssl: SSL_write(0x82077e0, 0x820a2c8, 159)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 12)
ssl: SSL_write(0x82077e0, 0x820a2c8, 27)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 4)
ssl: SSL_read(0x82077e0, 0x820a2c8, 1)
ssl: SSL_shutdown(0x8201688)
ssl: SSL_free(0x8201688)
ssl: BIO_free(0x8201fa0)

Can you give me advice, what I am doing wrong or what additional
information I need to supply? Whole source is too big to post here.

-- 
+----------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                           |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Tõnu Samuel           |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     [EMAIL PROTECTED]        |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Tallinn, Estonia      |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                       |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                      |
|             /*/             \*\                Developers Team |
+----------------------------------------------------------------+
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to