summaryrefslogtreecommitdiff
path: root/lib/x509/mpi.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-24 13:31:02 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2012-11-24 19:35:33 +0100
commit6be35136333b5d6289f23209cf896e741462909a (patch)
tree40373bf5671720c424589d3df69611faae21a2c0 /lib/x509/mpi.c
parentbc9bea2b3d5c19c209415000863afc1b7434343b (diff)
downloadgnutls-6be35136333b5d6289f23209cf896e741462909a.tar.gz
rewritten ASN.1 handling string subsystems to use the new libtasn1 APIs.
Diffstat (limited to 'lib/x509/mpi.c')
-rw-r--r--lib/x509/mpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/mpi.c b/lib/x509/mpi.c
index 7792c588a1..af943f5fa9 100644
--- a/lib/x509/mpi.c
+++ b/lib/x509/mpi.c
@@ -97,7 +97,7 @@ _gnutls_get_asn_mpis (ASN1_TYPE asn, const char *root,
/* Read the algorithm's parameters
*/
_asnstr_append_name (name, sizeof (name), root, ".subjectPublicKey");
- result = _gnutls_x509_read_string (asn, name, &tmp, RV_BIT_STRING);
+ result = _gnutls_x509_read_value (asn, name, &tmp);
if (result < 0)
{