Constify bn_dump1 implementation so that it matches the prototype