Need some help about SSL_shutdown()

2013-09-04 Thread Priyaranjan Nayak
Hi All, I am using openssl-1.0.1c in our project.when SSL_shutdown(ssl) get executed it returns 0.If I get return value zero then calling the same SSL_shutdown(ssl) again.In 2nd time it return -1/SSL_ERROR_WANT_READ. Now I am doing SSL_read(), but it returns -1.Again I am calling

Crashing at BIO_free_all() in openssl

2013-08-09 Thread Priyaranjan Nayak
Hi All, I am using openssl-1.0.1c in our project as DTLS . I am trying to delete all memory of SSL, SSL_CTX and BIO. But it is crashing at BIO_free_all() in openssl's lib. 1. Is there any procedure to followup to free these memories ? 2. If I free SSL and SSL_CTX, will it free the BIO

how to do SSL_shutdown()

2013-07-31 Thread Priyaranjan Nayak
Hi All, I am using openssl-1.0.1c in our project.when SSL_shutdown(ssl) get executed it returns 0.If I get return value zero then calling the same SSL_shutdown(ssl) again.In 2nd time it return -1. Can any one tell me how to shutdown ssl context ? How can I execute SSL_shutdown(ssl) , so

Re: Compiling open ssl source code in Visual studio 2008

2012-10-22 Thread PRIYARANJAN NAYAK
in between the configure and the nmake command?** ** ** ** -Tom ** ** ** ** Thomas Floodeen, Jr. Mentor Graphics BSD 720.494.1133 ** ** *From:* owner-openssl-us...@openssl.org [mailto: owner-openssl-us...@openssl.org] *On Behalf Of *PRIYARANJAN NAYAK *Sent:* Monday