multi-byte subject DN display

2013-09-04 Thread Bin Lu
Hi, This looks too easy but I am stuck ... I am trying to display the subject name of a certificate which contains multi-byte characters. I tried $ openssl x509 -in -noout -subject -nameopt RFC2253 ( or oneline,-esc_msb) And display the output in a web browser (IE or firefox) with character e

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 SSL_shutdo