X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=crypto%2Fbn%2Fbn_mpi.c;h=a054d21aed6b9a0cb04b384320ddd2fc6d6bfcbf;hb=7b3e11c54466f1da8b707c932e308d345fd61101;hp=da2d2c479e27fb6e7a6a090b03c3ce7b2d87b910;hpb=4d6e1e4f29de455b5e644ea9cae5d5f5a2dbef33;p=oweals%2Fopenssl.git diff --git a/crypto/bn/bn_mpi.c b/crypto/bn/bn_mpi.c index da2d2c479e..a054d21aed 100644 --- a/crypto/bn/bn_mpi.c +++ b/crypto/bn/bn_mpi.c @@ -88,7 +88,7 @@ int BN_bn2mpi(const BIGNUM *a, unsigned char *d) return(num+4+ext); } -BIGNUM *BN_mpi2bn(const unsigned char *d, size_t n, BIGNUM *a) +BIGNUM *BN_mpi2bn(const unsigned char *d, int n, BIGNUM *a) { long len; int neg=0;