Ah, I see. The reason pqueue uses 64-bit integers as the priority type is that record sequence numbers are 64-bits. I can easily change the code to make use of a pair of 32-bit integers (given that this really isn't performance critical code).
nagendra * Richard Levitte - VMS Whacker <[EMAIL PROTECTED]> [2005-04-30 15:16:26 +0200]: > Hi, > > We need to rethink pqueue a little bit. The trouble with it right now > is that it uses BN_ULLONG in the published API. Unfortunately, > BN_ULLONG doesn't work on all platforms we (pretend to?) support. > > In the BIGNUM code, all uses of BN_LLONG and BN_ULLONG are wrapped in > a check for BN_LLONG. This macro is undefined on VMS (see the > beginning of bn.h) for a very good reason; On VMS for VAX, there is no > (or has not been until very recently) 64-bit integer type that's > easily reachable from C (see > http://h71000.www7.hp.com/commercial/c/docs/6180p006.html#integral_types_sec). > This is actually rather silly, since the VAX does have the quad type, > but apparently that was nothing for C... > > Anyway, this means that pqueue very simply breaks on VMS for VAX, > because the definition of BN_ULLONG becomes 'unsigned long long', > which isn't a supported type. > > I know next to nothing about DTLS, so I'm not sure if the priority > field really has to be such a large number. Can it be easily changed? > > Either way, this will be a show stopper for the upcoming release of > OpenSSL 0.9.8 (see http://www.oenssl.org/news/state.html). > > Cheers, > Richard > > ----- > Please consider sponsoring my work on free software. > See http://www.free.lp.se/sponsoring.html for details. > > -- > Richard Levitte [EMAIL PROTECTED] > http://richard.levitte.org/ > > "When I became a man I put away childish things, including > the fear of childishness and the desire to be very grown up." > -- C.S. Lewis > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > Development Mailing List openssl-dev@openssl.org > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]