I'm trying to declare a BN_CTX on the stack (with a subsequent call to BN_CTX_init) to stay out of the memory manager.
When I do, I get an error: aggregate ‘BN_CTX’ has incomplete type and cannot be defined I've included <openssl/bn.h>, so I'm kind of surprised I can't compile. (<openssl/bn.h> has some typedefs and comments about definitions in ossl_typ.h). Grepping sources: $ grep -R BN_CTX_init * ... crypto/bn/exp.c: BN_CTX_init(&ctx); does not show me anything interesting because it looks like I'm doing what exp.c is doing: BN_CTX ctx; BIGNUM a,b,c,r,rr,t,l; ... BN_CTX_init(&ctx); How do I declare a BN_CTX on the stack? Thanks in advance. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org