diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-14 10:03:29 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2016-11-14 13:34:55 +0100 |
commit | 76c2bf66944ea8ee60caa1c472032bac0ac82e5c (patch) | |
tree | 2bf1413ac009471adc9d33c0afc06f0724ce0001 /lib/x509/pkcs7-output.c | |
parent | ef9c82b20b278f23e637e7278f378cbdc473efd5 (diff) | |
download | gnutls-76c2bf66944ea8ee60caa1c472032bac0ac82e5c.tar.gz |
pkcs7 output: use the new functions for DN output
Diffstat (limited to 'lib/x509/pkcs7-output.c')
-rw-r--r-- | lib/x509/pkcs7-output.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/x509/pkcs7-output.c b/lib/x509/pkcs7-output.c index b3da94d905..3042720108 100644 --- a/lib/x509/pkcs7-output.c +++ b/lib/x509/pkcs7-output.c @@ -52,7 +52,7 @@ static void print_dn(gnutls_buffer_st * str, const char *prefix, goto cleanup; } - ret = gnutls_x509_dn_get_str(dn, &output); + ret = gnutls_x509_dn_get_str2(dn, &output, 0); if (ret < 0) { addf(str, "%s: [error]\n", prefix); goto cleanup; |