From: Nikos Mavrogiannopoulos Date: Mon, 14 Nov 2016 09:03:29 +0000 (+0100) Subject: pkcs7 output: use the new functions for DN output X-Git-Tag: gnutls_3_5_7~135 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76c2bf66944ea8ee60caa1c472032bac0ac82e5c;p=thirdparty%2Fgnutls.git pkcs7 output: use the new functions for DN output --- 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;