summaryrefslogtreecommitdiff
path: root/lib/opencdk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2014-01-26 10:28:31 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2014-01-26 10:28:31 +0100
commit83100dcd7591fc7b5503c25f7bb6fe04ee4b5450 (patch)
tree686c7730aa1651d123950e809443f8659807a10b /lib/opencdk
parentea2afc5723133ab710b657e848b6481747620e97 (diff)
downloadgnutls-83100dcd7591fc7b5503c25f7bb6fe04ee4b5450.tar.gz
updated mpi_scan macros
Diffstat (limited to 'lib/opencdk')
-rw-r--r--lib/opencdk/read-packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/opencdk/read-packet.c b/lib/opencdk/read-packet.c
index 01b50057f9..becd6cb762 100644
--- a/lib/opencdk/read-packet.c
+++ b/lib/opencdk/read-packet.c
@@ -136,7 +136,7 @@ static cdk_error_t read_mpi(cdk_stream_t inp, bigint_t * ret_m, int secure)
buf[0] = nbits >> 8;
buf[1] = nbits >> 0;
nread += 2;
- err = _gnutls_mpi_scan_pgp(&m, buf, nread);
+ err = _gnutls_mpi_init_scan_pgp(&m, buf, nread);
if (err < 0)
return gnutls_assert_val(map_gnutls_error(err));