We are using s_client to do some automated white box testing of our
secure server product.
We have a set of scripts that hit on our server kind of like this,...

bash% cat dg.txt netscape-4.71-linux | openssl s_client 
        -connect 10.0.0.100:5150 -cert EntrustCert1.pem
        -key EntrustKey1.pem < DG01.txt

where DG01.txt = 'GET /DG?arg=dsflkjewrdsf389 HTTP/1.0 
and   netscape-4.71-linux contains the HTTP headers that the
      browser send in an HttpRequest.

Problem was :

s_client was not printing the output returned from the server
it was just printing

DONE

Solution was :

we changed s_client.c in two places


s_client.c:579 

if ((!c_quiet) && ((i<0) || (cbuf[0]='Q')))

s_client.c:679 

if(i<0)


now it works but we must have de-stabilized the program. 

Questions:

Does anyone know if this is a bug or not ?
Does anyone use s_client with piped input ?

Thanks ,

dave.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to