> I've forgotten what method 3 is.

#ifdef DO_IT_THISWAY
#define CCONST  const
#else
#define CCONST  /* */
#endif

int BN_mul(BIGNUM *r, CCONST BIGNUM *a_, CCONST BIGNUM *b, BN_CTX *ctx)
{
        BIGNUM* a = (BIGNUM*)a_;

... proceed as currently used.

folks who are concerned that their compiler might put a struct that
someone has somehow managed to create at compile-time can #undef
DO_IT_THISWAY
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to