commit | 49ce6f09736909308fe171e63267dd41aa0a312d | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Mar 31 13:05:39 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Mar 31 13:05:39 2015 +0200 |
tree | ad9ad1a07139e9fb2471549d79936a749189083a | |
parent | 5bf262d710e9010f8bb79200b3c299d8ad55b364 [diff] [blame] |
Fix constness of asn1_write_mpi()
diff --git a/include/mbedtls/asn1write.h b/include/mbedtls/asn1write.h index 154a6ba..dc30206 100644 --- a/include/mbedtls/asn1write.h +++ b/include/mbedtls/asn1write.h
@@ -83,7 +83,7 @@ * * \return the length written or a negative error code */ -int asn1_write_mpi( unsigned char **p, unsigned char *start, mpi *X ); +int asn1_write_mpi( unsigned char **p, unsigned char *start, const mpi *X ); #endif /* POLARSSL_BIGNUM_C */ /**