在2009-05-29,"Ger Hobbelt" <[email protected]> 写道:
>2009/5/29 jazeltq <[email protected]>:
>> 在2009-05-28,"Victor Duchovni" <[email protected]> 写道:
>>>On Thu, May 28, 2009 at 11:51:42AM +0200, Ger Hobbelt wrote:
>>>
>>>Only if the data is text. Using strlen() on binary data is another
>>>classic/basic 'C' programming mistake.
>> if it is binary data, what to do ? Use a Variable to send the the size ?
>
>yes.
>
>Just like the BIO_read, BIO_write, fwrite, etc. APIs all do too: pass
>along a pointer /and/ a length parameter.
Thank you, i get it
>
>--
>Met vriendelijke groeten / Best regards,
>
>Ger Hobbelt
>
>--------------------------------------------------
>web: http://www.hobbelt.com/
> http://www.hebbut.net/
>mail: [email protected]
>mobile: +31-6-11 120 978
>--------------------------------------------------
>______________________________________________________________________
>OpenSSL Project http://www.openssl.org
>User Support Mailing List [email protected]
>Automated List Manager [email protected]