[openssl.org #1192] OPENSSL S_CLIENT STARTTLS SMTP PATCH

2006-07-31 Thread Larry Shores via RT

vijay, if this is you  write me back  [EMAIL PROTECTED]
__
OpenSSL Project http://www.openssl.org
Development Mailing List   openssl-dev@openssl.org
Automated List Manager   [EMAIL PROTECTED]


[openssl.org #1192] OPENSSL S_CLIENT STARTTLS SMTP PATCH

2005-08-25 Thread Vijay S Sarvepalli VSSARVEP via RT

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]