This is the least unacceptable way I've found for declaring the bignum data
and structures as constant without having to cast away const at any point. There is still plenty of other code that makes gcc's "-Wcast-qual" unhappy, but crypto/bn/ is now ok. Purists are welcome to suggest alternatives.
parent
933398f1
Please register or sign in to comment