summaryrefslogtreecommitdiff
path: root/lib/x509/dn.c
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-04 14:59:58 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-03-04 15:10:59 +0100
commit67e28a7b18f5363c6d1ad45fbb23f3d5bc1d5a50 (patch)
tree0072fdad168230cc1cc54347302d24ae5f8f73c9 /lib/x509/dn.c
parente4e43b88970a56bf5ac43ef2f6143c520c24925e (diff)
downloadgnutls-67e28a7b18f5363c6d1ad45fbb23f3d5bc1d5a50.tar.gz
use asn1_decode_simple_ber if available
Diffstat (limited to 'lib/x509/dn.c')
-rw-r--r--lib/x509/dn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/dn.c b/lib/x509/dn.c
index 07d890361d..140071a1db 100644
--- a/lib/x509/dn.c
+++ b/lib/x509/dn.c
@@ -645,7 +645,7 @@ _gnutls_x509_decode_and_read_attribute(ASN1_TYPE asn1_struct,
if (octet_string)
result =
_gnutls_x509_read_string(asn1_struct, tmpbuffer, value,
- ASN1_ETYPE_OCTET_STRING);
+ ASN1_ETYPE_OCTET_STRING, 0);
else
result =
_gnutls_x509_read_value(asn1_struct, tmpbuffer, value);