Hi there,
Are there somebody having noticed this:
struct bio_st /* From /openssl/crypto/bio/bio.h. */
{
......
char *cb_arg; /* Here in the struct BIO, cb_arg is defined as pionter to
char. */
.......
};
yet, look at these codes:
/* Form /openssl/crypto/bio/bio_cb.c. */
......
b=(BIO *)bio->cb_arg;
if (b != NULL)
BIO_write(b,buf,strlen(buf));
#if !defined(NO_STDIO) && !defined(WIN16)
else
fputs(buf,stderr);
#endif
......
The cb_arg is used as BIO* :-o, I'm so puzzled that I think cb_arg should be
defined as pointer to BIO.
Can you give me some wise?
Any help are appreciated!
Deng
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]