Jochen Pfaadt wrote:
> 
> I hope this isn't to OT:
> 
> I want to change an existing program, so that it uses secure connection, via
> ssl.
> My only problem is: how to convert those fprintf commands with loads of
> parameters. Currently I'm thinking about using sprintf first and then
> ssl_write the resulting string. But I don't want to care about
> buffer-overflows each time I replace a fprintf.
> So my question is (as you can read in the topic): is there a command similar
> to fprintf ?

Erm maybe use an SSL BIO and then BIO_printf() to it?

Steve.
-- 
Dr Stephen N. Henson.   http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED] 
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the   OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to