[gnutls-devel] GnuTLS | certtool: don't output textual information if --no-text was given (!810)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Thu Nov 22 09:04:28 CET 2018


Nikos Mavrogiannopoulos started a new discussion on src/certtool.c:

> -			fprintf(stderr, "export error: %s\n",
> -				gnutls_strerror(ret));
> -			app_exit(1);
> -		}
> -
> -		fwrite(lbuffer, 1, size, outfile);
> -
> -		gnutls_pubkey_deinit(pubkey);
> -
> -		return;
> -	}
> -
> -	/* PEM */
> -
> -	_pubkey_info(outfile, full_format, pubkey);
> +	print_pubkey_info(pubkey, outfile, full_format, outcert_format, cinfo->outtext);

why didn't you pass `cinfo` in that case?

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/810#note_119258172
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20181122/48130b4c/attachment.html>


More information about the Gnutls-devel mailing list