Here is a patch for openssl s_client ! I have trouble using the STARTTLS
command on
many servers. As they reject any request before greeting "HELO"
I have made up this patch hope that it is useful for me.
I do request that you make it available to others.
Regards
Vijay Sarvepalli
*** apps/s_client.c 2005-08-24 16:02:00.846839850 -0400
--- apps/s_client.c~2005-05-30 18:37:41.0 -0400
***
*** 722,729
if (starttls_proto == 1)
{
BIO_read(sbio,mbuf,BUFSIZZ);
- BIO_printf(sbio,"HELO WWW.OPENSSL.ORG\r\n");
- BIO_read(sbio,mbuf,BUFSIZZ);
BIO_printf(sbio,"STARTTLS\r\n");
BIO_read(sbio,sbuf,BUFSIZZ);
}
--- 722,727
__
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-dev@openssl.org
Automated List Manager [EMAIL PROTECTED]