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.
Showing
想要评论请 注册 或 登录