From 76c2bf66944ea8ee60caa1c472032bac0ac82e5c Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Mon, 14 Nov 2016 10:03:29 +0100 Subject: pkcs7 output: use the new functions for DN output --- lib/x509/pkcs7-output.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1