Seek out and destroy another evil cast.
[oweals/openssl.git] / crypto / bn / bn_mpi.c
index 5d786d7b15dbd91d594720ab493dce41e4b39a63..80e1dca6b73430371caea39456d1b0381c78b2b0 100644 (file)
@@ -60,7 +60,7 @@
 #include "cryptlib.h"
 #include "bn_lcl.h"
 
-int BN_bn2mpi(BIGNUM *a, unsigned char *d)
+int BN_bn2mpi(const BIGNUM *a, unsigned char *d)
        {
        int bits;
        int num=0;