1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-29 01:03:57 +03:00

bignum: Pass const to ssh_print_bignum()

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Andreas Schneider
2019-08-06 20:22:50 +02:00
parent 89ab7b23f8
commit 4e25ee6124
5 changed files with 8 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ void ssh_mbedcry_bn_free(bignum bn)
SAFE_FREE(bn);
}
unsigned char *ssh_mbedcry_bn2num(bignum num, int radix)
unsigned char *ssh_mbedcry_bn2num(const_bignum num, int radix)
{
char *buf = NULL;
size_t olen;