> Matt Fagan wrote:
> 
> 
> I am planning to use SSL with the IO completion port model under
> win2K.  Does anyone know of an existing BIO suitable for this ?  I
> haven't been able to find one, so thought I would write my own.
> However, there seem to be hard-coded BIO_TYPE values for the different
> bios in the bio.h file.  Does anyone know if these numbers have any
> meaning, or can I just make up my own id number ?
> 

Well it would presumably be a descriptor like source-sink BIO. The
actual base number you give it is fairly arbitrary but cannot exceed
255. You might want to give it a value larger than the existing ones so
it wont clash with any future development, 0x80 for example.

So it would be (0x80 | BIO_TYPE_SOURCE_SINK | BIO_TYPE_DESCRIPTOR).

Which reminds me, that stuff in bio.h shouldn't have all those hardcoded
values...

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